Master CSS transforms and perspective - Explained Visually

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 56

  • @xaiver3612
    @xaiver3612 6 месяцев назад +17

    I have never saw more simpler explanation about any topic in web dev, visualision makes 90% of this probably

  • @PeterPetrov-r9c
    @PeterPetrov-r9c Год назад +13

    That was so friggin cool! As someone who is a visual learner, having the visualization change as you explain it really helped. Awesome video.

  • @Radius11-g1k
    @Radius11-g1k Месяц назад +2

    Man this couldnt be explained better. Total Support to bro

  • @jvchike
    @jvchike 21 день назад

    Subscribed! The quality of this video is simply amazing, wish I could do more than subscribe lol.

  • @xyves6327
    @xyves6327 7 месяцев назад +16

    The box stays the same because you lack perspective. 😥😥😥

    • @Tussu17
      @Tussu17 7 месяцев назад

      Howwwww!?

  • @haqadn
    @haqadn 17 часов назад

    This is so cool! It's weird to listen to you in YT though 😁

  • @vukhanhtrangbui4251
    @vukhanhtrangbui4251 6 месяцев назад +1

    My boyfriend been stuyding code and he was so excited to show me your video and told me how easy to understand by watching your videos. Best of luck ! 🥰

    • @pranjalruhela1103
      @pranjalruhela1103 6 месяцев назад

      Don't lose him or I'll lose faith in coding

  • @alii4334
    @alii4334 7 месяцев назад +1

    visually stunning, professionally produced content! thank you man!

  • @MDShuaib-k9u
    @MDShuaib-k9u 13 дней назад

    Totally awesome🎉 Great man❤

  • @demicheo
    @demicheo 5 месяцев назад +1

    Thank you! This helped me a lot with an exercise I have to do!!

  • @rokimiftah
    @rokimiftah 7 месяцев назад

    Need more css explanation like this, plz!

  • @fireofenergy
    @fireofenergy 8 месяцев назад

    Programs are so "figure our stuff out"... first. Whereas the CSS and your help, is so direct and to the point. Thanks!
    Upvoted, subbed and hope you get a million more views!

  • @bloque9.estrategiaseninter374
    @bloque9.estrategiaseninter374 7 месяцев назад +2

    Wow! great content. Congrats and keep the good work!

  • @JeffersonVanegas2000
    @JeffersonVanegas2000 6 месяцев назад +2

    why bro not posting more vids like these? They are quite literally what most of us are looking for when searching for things like these.

  • @boris7258
    @boris7258 5 месяцев назад

    This cube made me want to practice and understand things :D

  • @anupsuresh9103
    @anupsuresh9103 8 месяцев назад

    Wow i just noticed the subs and views i thought this was some big channel probably, what a video, post more man you'll get far for sure thankyou for the explanation nice video

  • @chienthangoanmanh4933
    @chienthangoanmanh4933 6 месяцев назад

    The quality of your video is top notch. Really like it!! Wish u the best and i would love to see more video from u

  • @TusharVaish-r6j
    @TusharVaish-r6j 8 месяцев назад

    simple straight forward explaination

  • @sohamnanavati-s7o
    @sohamnanavati-s7o 9 месяцев назад +1

    this was so cool!!!. thanks for teaching us this. I was very confused, all solved with this one video

  • @arvindcool7994
    @arvindcool7994 Год назад +3

    That was so cool and easy to understand ❤

  • @bhanu3189
    @bhanu3189 8 месяцев назад

    Explanation is so good 💯 i loved it ❤️ the way of visual explanation is awesome 🤩 please more video
    U will grow far💫

  • @nganji7932
    @nganji7932 8 месяцев назад

    wow , You just explained it so easy and good! Thank you for this useful video.

  • @hariram5654
    @hariram5654 Месяц назад

    Thank you.....,thank you so much.....🥺🥺🥺🥺

  • @klirmio21
    @klirmio21 11 месяцев назад

    holy fuck this was so frigging GOOD! MAN!
    thank you so much! perspecitive is literally one of those properties which must be learned visully, not from the books

  • @Inbydev
    @Inbydev 4 месяца назад

    easy to understand, thanks you so much!

  • @Law_platform
    @Law_platform 11 месяцев назад

    most valuabe tutorial who study css! Thanks for detailed tutorial :)

  • @_whatistruth
    @_whatistruth 4 месяца назад

    highly underrated.

  • @dotwad11
    @dotwad11 9 месяцев назад +1

    I can't wait for more videos!

  • @The-cyber-imbiber
    @The-cyber-imbiber 2 месяца назад

    this is a super good video

  • @rifaakter8463
    @rifaakter8463 4 месяца назад

    Please sir..continue this 3d css video series. ❤❤

  • @MangoBoxes
    @MangoBoxes 4 месяца назад

    Great video bro ❤❤

  • @MRNOVAChannel
    @MRNOVAChannel 9 месяцев назад

    thanks for making it easy. you're cool

  • @rifathasan-pl7pn
    @rifathasan-pl7pn 3 месяца назад

    This video deserve at least 10m views

    • @akbhai55
      @akbhai55 3 месяца назад +2

      Why 10m views why not 20m😡😡

  • @bumblebee7688
    @bumblebee7688 2 месяца назад

    i love you so much

  • @nainglinhtet3179
    @nainglinhtet3179 8 месяцев назад

    Thanks sir! That's amazing

  • @pranjalruhela1103
    @pranjalruhela1103 6 месяцев назад

    all hell broke lose when I started to code and implement this

  • @shahidvohra2239
    @shahidvohra2239 9 месяцев назад

    Good way of explaining!

  • @BFRule1
    @BFRule1 6 месяцев назад

    wow amazing ❤❤❤

  • @teleportkontrola2006
    @teleportkontrola2006 10 месяцев назад

    Well done, thanks!

  • @lewisbrown2159
    @lewisbrown2159 9 месяцев назад

    THIS IS GOLD

  • @user-ht9sy4yc2e
    @user-ht9sy4yc2e 8 месяцев назад

    Y they are not putted down opacity for rotations ??

  • @S3louk
    @S3louk 4 месяца назад

    part 2?

  • @shenzen_arena
    @shenzen_arena 4 месяца назад

    Will you make more videos in the future?

    • @craftingon
      @craftingon  4 месяца назад

      yep

    • @shenzen_arena
      @shenzen_arena 3 месяца назад

      @@craftingon AWESOME!!! I'll stay tuned for more

  • @sjain6320
    @sjain6320 9 месяцев назад

    Damn nice

  • @MarkoKozlica
    @MarkoKozlica 4 месяца назад

    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    body {
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    @-webkit-keyframes rotate-cube {
    0% {
    transform: rotateX(45deg) rotateY(45deg);
    }
    25% {
    transform: rotateX(-45deg) rotateY(45deg);
    }
    50% {
    transform: rotateX(-45deg) rotateY(-45deg);
    }
    75% {
    transform: rotateX(45deg) rotateY(-45deg);
    }
    100% {
    transform: rotateX(45deg) rotateY(45deg);
    }
    }
    @keyframes rotate-cube {
    0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
    }
    .cube {
    margin-top: 200px;
    transform-style: preserve-3d;
    perspective: 12000px;
    position: relative;
    width: 250px;
    height: 250px;
    /* border: 1px solid #ececec; */
    border-radius: 10px;
    color: #ececec;
    animation: rotate-cube 10s infinite linear;
    -webkit-animation: rotate-cube 10s infinite linear;
    }
    .side {
    position: absolute;
    width: 250px;
    height: 250px;
    }
    .front.side {
    background-color: #a85c5c;
    transform: translateZ(125px);
    }
    .back.side {
    background-color: #a27979;
    transform: translateZ(-125px);
    }
    .right.side {
    background-color: #5a0404;
    transform: translateX(125px) rotateY(90deg);
    }
    .left.side {
    background-color: #444343;
    transform: translateX(-125px) rotateY(-90deg);
    }
    .top.side {
    background-color: #ebe8e8;
    transform: translateY(-125px) rotateX(90deg);
    }
    .bottom.side {
    background-color: #3e1c1c;
    transform: translateY(125px) rotateX(-90deg);
    }

    • @MarkoKozlica
      @MarkoKozlica 4 месяца назад +2

      A bit more styled :D
      * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      }
      body {
      background-color: #222222;
      display: flex;
      align-items: center;
      justify-content: center;
      }
      @-webkit-keyframes rotate-cube {
      0% {
      transform: rotateX(45deg) rotateY(45deg);
      }
      25% {
      transform: rotateX(-45deg) rotateY(45deg);
      }
      50% {
      transform: rotateX(-45deg) rotateY(-45deg);
      }
      75% {
      transform: rotateX(45deg) rotateY(-45deg);
      }
      100% {
      transform: rotateX(45deg) rotateY(45deg);
      }
      }
      @keyframes rotate-cube {
      0% {
      transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
      }
      100% {
      transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
      }
      }
      .cube {
      margin-top: 200px;
      transform-style: preserve-3d;
      perspective: 12000px;
      position: relative;
      width: 250px;
      height: 250px;
      /* border: 1px solid #ececec; */
      border-radius: 10px;
      color: #ececec;
      animation: rotate-cube 10s infinite linear ease-in-out;
      -webkit-animation: rotate-cube 10s infinite linear;
      }
      .side {
      position: absolute;
      width: 250px;
      height: 250px;
      border-radius: 12px;
      border: 1px solid #ececec;
      opacity: 0.9;
      font-size: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      }
      .front.side {
      background-color: #3a3939;
      transform: translateZ(125px);
      }
      .back.side {
      background-color: #3a3939;
      transform: translateZ(-125px);
      }
      .right.side {
      background-color: #3a3939;
      transform: translateX(125px) rotateY(90deg);
      }
      .left.side {
      background-color: #3a3939;
      transform: translateX(-125px) rotateY(-90deg);
      }
      .top.side {
      background-color: #3a3939;
      transform: translateY(-125px) rotateX(90deg);
      }
      .bottom.side {
      background-color: #3a3939;
      transform: translateY(125px) rotateX(-90deg);
      }

    • @MarkoKozlica
      @MarkoKozlica 4 месяца назад +2

      HTML

      CSS 3D transforms


      Front Side
      Back Side
      Left Side
      Right Side
      Top Side
      Bottom Side

  • @eiermaler_
    @eiermaler_ 9 месяцев назад +1

    I m 100 follower