How To Create This Unbelievable CSS Scroll Animation

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 125

  • @David94spc
    @David94spc Рік тому +102

    Honestly, thank you for mixing your audio well. Listening on ear buds at a noisy location and not being injured when the intro music plays is not a given at all 😅

    • @MrDJsArcade
      @MrDJsArcade 8 місяців тому +1

      Something you don't think about 'til you watch certain youtubers. Definitely a nice detail!

  • @aryankalra5640
    @aryankalra5640 27 днів тому +1

    Knowing all these feels almost illegal but seriously god level work man!

  • @kaustavroy6542
    @kaustavroy6542 Рік тому +13

    This was much needed, the step by step breakdown.
    Pls do more such videos.

  • @pablofernandezruiz8024
    @pablofernandezruiz8024 Рік тому +7

    I really love this kind of content. The web design part is kind of forgotten nowadays. Scroll animations are so necessary but I can’t barely find any videos about it. Thanks for creating this tutorial!

  • @Yimimura
    @Yimimura Рік тому +8

    Since nobody point that out, using scroll & resize without passive option can hurt the perfomances of the page.
    Using passive make the event out of the main thread and updating only when there is an available tick available.

  • @martinwuehr
    @martinwuehr Рік тому +2

    This is Top Tier UA-cam Content. Thank you Kyle!

  • @thas_am
    @thas_am Рік тому +1

    this video is insanely clear, even to a begginer programmer

  • @omrividal
    @omrividal Рік тому +1

    To say that it's impressive is really an understatement.
    Blew my mind on so many levels!

  • @maurosampietro9900
    @maurosampietro9900 Рік тому +1

    You are incredibly clear and straight to the point. I wish everyone was like you. Amazing coder too

  • @karandamania6239
    @karandamania6239 Рік тому +1

    This helped me finish a project i was stuck! Thanks a lot man

  • @pharmakidsarl8449
    @pharmakidsarl8449 9 місяців тому +1

    Incredibly talented

  • @FlorentClaude
    @FlorentClaude Рік тому

    Bim. Well done! Looks so simple lol

  • @0-Will-0
    @0-Will-0 Рік тому +13

    This is interesting and I am glad you have done the video. But as a visitor to a non-animated website, I've never thought, I wish there were some animations.

  • @skreamozzz
    @skreamozzz Рік тому

    ¡Gracias!

  • @mllr_nyc
    @mllr_nyc Рік тому +7

    Incredible teacher, awesome tutorial, thank you 👏

  • @westfield90
    @westfield90 Місяць тому

    Fantastic 😊 would love to see a similar explanation of how some of the Apple scroll animations are done in 2024 and not using 4-5 years ago code.

  • @libeoo
    @libeoo Рік тому +1

    Now first I will try to make it and then I will see your video , I got the idea how website work. Now let's go 😁

  • @darkbluebossa
    @darkbluebossa Рік тому +5

    So cool! Sometimes I enter those sites like ´One Page Love´ and I get completely lost about some of the effects I see there (and I dont even mention Awwwards). It would be cool if you posted more real world examples like this.

  • @justfun591
    @justfun591 Рік тому +6

    doing this in CSS is some skill. Respect Sir!

  • @MrAbbo11
    @MrAbbo11 Рік тому +1

    nice. more scroll animations please :). Essential part of modern website building toolkit.

    • @DanushkaMadushanka-e7f
      @DanushkaMadushanka-e7f Рік тому

      Stack cards on page scroll using css sticky and javascript 2023 #part 1
      ua-cam.com/video/D9L3qRi2dc8/v-deo.html
      Try this

  • @Smurfis
    @Smurfis Рік тому

    Please do more in-depth website analysis like this

  • @Girish-Prabhu
    @Girish-Prabhu 3 місяці тому

    Amazing tutorial

  • @scriptles
    @scriptles Рік тому

    You are an awesome teacher. You make excellent videos and I love your personality. Keep up the good work.

  • @jamesmassa1999
    @jamesmassa1999 Рік тому

    Thank You. Excellent. Please do more videos like this one. 😀

  • @thanhnguyen-gs5kl
    @thanhnguyen-gs5kl Рік тому +1

    Thank you for making this amazing video. This is exactly what I'm looking for. God bless you.

  • @AntonYefremov
    @AntonYefremov 15 годин тому

    would be great ti this tutorial revisited with the new view timeline API

  • @hugodsa89
    @hugodsa89 Рік тому +1

    Freaking top video Kyle. I don’t say this lightly.

  • @m12652
    @m12652 Рік тому +1

    Brilliant!

  • @tallawahh
    @tallawahh Рік тому +1

    I'm just thinking I can design any moving containers this way 💡 it's nothing new but this logical page looks really nice, plus a step by step walkthrough of the changes

  • @thewebstylist
    @thewebstylist Рік тому

    So awesome!

  • @avneet12284
    @avneet12284 Рік тому

    This was truly masterful

  • @jingotrades
    @jingotrades Рік тому

    Is there more detailed explanation of the (oldVal - oldMin) * newRange / oldRange + newMin formula?

  • @theisoj
    @theisoj Рік тому +1

    thanks Kyle as always 👍

  • @gangasai_kumar_G
    @gangasai_kumar_G Рік тому

    how to create mini map in CSS like vscode, can you make video on this topic please?

  • @Orgrimmar21
    @Orgrimmar21 Рік тому +9

    The site is cool but from a UX perspective is a complete mess lol.
    Even as an experienced inernet user it confused me hard.

  • @imtiazarefinevan
    @imtiazarefinevan Рік тому

    I've learnt something new 😊

  • @roterdachs
    @roterdachs Рік тому

    Any idea to get rid of a problem? The counter doesnt work, if the page height is set to a vh value - and to keep vh is critical for the website

  • @renangarcia5710
    @renangarcia5710 Рік тому

    I think that you forgot to add the link to the intersection observer vídeo at 31:28

  • @codehublk
    @codehublk Рік тому

    So cool! And perfect

  • @lijons
    @lijons Рік тому

    please post any videos about tailwind

  • @allahwetrust9626
    @allahwetrust9626 Рік тому

    thank you so much you nailed it ..... but i ty use css without js....its kinda hird to achieve smooth animation onscroll simly with css especially the scroll back effect ..... i see you implemented a feature from scratch this feature is also available on react/spring it is calles parallax and it is truly amazing because its also frustrating to have smooth animations with tge scroll progress just between 0 and 100% for all the pages .... it is a nice a approach to have 100% per each page it could even allow you to set the speed of the page increasing the heigh of the page or its distance from tge previous page if its going to have 100vh

  • @allahwetrust9626
    @allahwetrust9626 Рік тому

    reallly nnaaailed it by setting only the scroll variable in js on resize and on scroll and using in css so it could perform tge calculations automatically when the scroll changes .....
    it is truly amazing because if evrything is imlemented from js it becomes a tittle bit unmaintanable ......BUT it is still limited if we may wanna position all tge elements with a fixed position while respecting the minimum aspect ratio ..... because we may need to use conditions and i'm wondering could css use conditions ???? like the calc function could it have conditions

  • @oussamajadidi6299
    @oussamajadidi6299 Рік тому

    Man, Thank you

  • @blaketheory
    @blaketheory Рік тому +26

    It's impressive that you can do all that in mostly CSS, and I think it's good how you explained your thought process rather than just giving the code. But, as a user, I feel I'd just be SO confused by a site like this. You go to it and expect to scroll down normally, but all this distracting stuff happens. It's hard to know what are images or what is interactable UI, and the text that apparently goes with each image is often hidden behind it. As a user, I'd find a normally scrolling article-style site much more readable. 🤷

    • @CWhitmer22015
      @CWhitmer22015 Рік тому +6

      Sometimes I feel like we are regressing back to the early days when every site seemed to want to have so much animation that the user could not navigate the page. Life really is cyclical. 😞

    • @albedesigns
      @albedesigns Рік тому

      @@CWhitmer22015 yep! I want to stay in with the design trends but sometimes I feel they're a bit too much. Especially when trying to make a website accessable for everyone!

  • @ezzayt8905
    @ezzayt8905 Рік тому

    are that is parallax effect?

  • @SkyyySi
    @SkyyySi Рік тому +25

    It's impressive, but please, PLEASE don't hijack my scroll wheel. Just let me scroll down the darn page. You shouldn't ever do it for the same reason you shouldn't ever make a website switch your mouse buttons (showing a context menu on left click): Because you should not change the baseline of how a user's input works, unless of course you want to be abnoxious to the max.

    • @jodomo4279
      @jodomo4279 Рік тому +3

      Agreed. Even for landing pages. It just messes with the user experience and makes it tricky to navigate.
      A client may even appreciate the visual flair, but they won't appreciate the way it handicaps their conversion rate.
      If you're just trying to make other developers hard with your CSS skills, though, then go for it.

  • @chukwudieze3734
    @chukwudieze3734 Рік тому

    Great content! I have a question though. How did you come up with that formula?

    • @jpisello
      @jpisello Рік тому

      Google "linear interpolation".

    • @ananthadm
      @ananthadm Рік тому

      It's just a formula to find x is what % of given number.

  • @nickveldkamp5396
    @nickveldkamp5396 Рік тому

    Better solution: GSAP or this?😊

  • @jw200
    @jw200 Рік тому

    If you code something from scratch, which has backend/frontend.
    How you check for vulnerabilities? is there some site or tool for that?
    I want to code lots of stuff (mainly for myself) but afraid to make public, maybe its full of holes.

  • @abhaykumar9806
    @abhaykumar9806 Рік тому

    can you create a video on htmx

  • @纪亚荣
    @纪亚荣 Рік тому

    If I have 4 or 5 or more section of content, should I let the scroll limit to 200, 300?

  • @KorhalKk
    @KorhalKk Рік тому

    I've tried your code but it seems to lose the ability to change images if you refresh the page. Maybe its because the listener is set to window and not document? I'm not sure.

  • @herlim6927
    @herlim6927 Рік тому

    Can you tell me how to do the same thing in react

  • @thesatirist7180
    @thesatirist7180 Рік тому

    Netlify's landing page website also have this scroll animation, I'm trying to break it down and work on it, but I left no time, but at least this cidei came out! 😁✌👍

  • @frosty2912
    @frosty2912 Рік тому +3

    Interesting, but I don't like it when sites do this over the top animation :-) (This and the side scrolling ... like on netflix)

  • @adityanayak20
    @adityanayak20 Рік тому

    Next Shourts on JS valueOf () vs toString() ?

  • @someshharshvardhan2419
    @someshharshvardhan2419 Рік тому

    Hey Great video , but I am really curious how you deduced the formula for the parallax effect ???

    • @jpisello
      @jpisello Рік тому

      Google "linear interpolation" (that's what that formula is; I wish he had mentioned that).

  • @darbhasailu
    @darbhasailu Рік тому

    how can i do this in sveltekit pleaseeee helpppp

  • @onur-9158
    @onur-9158 Рік тому

    Hey Web Dev Simplified, can you do carousel mouse drag to slide (but item number is unkown) and items are clickable but now when you grap? I tried many packages like motion and did not achive what i want.

  • @amok8938
    @amok8938 8 місяців тому

    This css wont pass a css validator though. You probably still need to go about this with js if you want to use it for a real website. Unless im missing something and theres a way to make it pass the validator?

  • @bamboo8212
    @bamboo8212 Рік тому

    Is this code under MIT license? Are we allowed to use it? I noticed the package is available on Github but there is no notice about the license.

    • @WebDevSimplified
      @WebDevSimplified  Рік тому

      You are welcome to use the code as you see fit. I cannot add a license, though, as the images themselves are not owned by me.

    • @bamboo8212
      @bamboo8212 Рік тому

      apart from the images though?@@WebDevSimplified

  • @clunkeys
    @clunkeys Рік тому

    Why don't we encourage padding-inline-start instead of padding-left?

  • @Endelean
    @Endelean Рік тому

    This video made me realise how terrible my math comprehension is 😆

  • @axzphere03
    @axzphere03 Рік тому

    How to make one navigation bar code for multiple pages? Please help me :(

  • @ItsTinyWarrior
    @ItsTinyWarrior Рік тому

    There is also a library called aos which can help you do some simple animate on scrolls really easily

  • @Dracometeor562
    @Dracometeor562 Рік тому

    i though you were focusing on ur react course

  • @Rybus1
    @Rybus1 Рік тому

    Dude redeveloped ScrollMagic and Gsap

  • @Vatz90
    @Vatz90 Рік тому

    Dope

  • @EmmanuelOdii80
    @EmmanuelOdii80 Рік тому

    Coool!

  • @NikitaDrokin
    @NikitaDrokin Рік тому +7

    First time I've seen a clickbait title and thumbnail from WDS. At least the video delivered on it 😂

    • @atrasshalhan
      @atrasshalhan Рік тому +1

      what's so clickbait about the title & thumbnail?

    • @deepeshchhetri850
      @deepeshchhetri850 Рік тому +2

      How’s it clickbait if the video delivered it? 🤔

    • @5iGnuM
      @5iGnuM Рік тому +2

      Kyle always delivers 🎉

    • @SolidSt8Dj
      @SolidSt8Dj Рік тому +2

      @@deepeshchhetri850 There's clickbait, and then there's misleading clickbait.
      If the video delivers, it's not misleading, but that doesn't mean it wasn't clickbait.

  • @BGdev305
    @BGdev305 Рік тому +8

    Personally.. why would anybody even want all that crap scrolling on the page.. while scrolling!? It's actually visually annoying!

    • @rafalos-zx6go
      @rafalos-zx6go Рік тому +1

      yeah i think its hella annoying

    • @MrTomro
      @MrTomro Рік тому +1

      exactly

    • @EIsenah
      @EIsenah Рік тому

      Myself, I find it visually gratifying

  • @markboaz9271
    @markboaz9271 Рік тому

    Can you help us to build a referral program using express . Users should have the ability to share the links to other platforms that my program can track

    • @EIsenah
      @EIsenah Рік тому

      Sure, I could help you out

  • @deatho0ne587
    @deatho0ne587 Рік тому

    10:37 The JS needs a minor refactor, no reason to run the code of setProroperty again if already 100.
    Very nice though what you did.

  • @lucsoft
    @lucsoft Рік тому

    you cloud make this pure css with scroll timeline

  • @joedegrood4354
    @joedegrood4354 7 місяців тому

    and provides the code. just built my website in 30 minutes 😊

  • @coding-master-shayan
    @coding-master-shayan Рік тому

    Nice

  • @HaniYahya9
    @HaniYahya9 Рік тому

    My thought process: F12

  • @KangJangkrik
    @KangJangkrik Рік тому

    Meanwhile I still figuring out how to center a div with css

  • @rebertwalog7815
    @rebertwalog7815 Рік тому

    it looks complicated but when you explain it its kinda easy to understand

  • @seansopata5121
    @seansopata5121 8 місяців тому

    Good God please don't ever push this project to a production site.

  • @shakilahmed6870
    @shakilahmed6870 Рік тому

    Isnt this kind of animation very confusing for normal users?

    • @thesaintnoodle
      @thesaintnoodle Рік тому

      not really. this is for marketing not for a user interface lol

  • @borrzeborrze95
    @borrzeborrze95 Рік тому +2

    hey i have question. i have an account on ure personnal site and i want to share the content (CSS) i buy with the member of my family ? Do i have the right to do that ? thanks

    • @WebDevSimplified
      @WebDevSimplified  Рік тому +1

      Of course you can. I hope they enjoy the course too.

    • @borrzeborrze95
      @borrzeborrze95 Рік тому +1

      @@WebDevSimplified thank you very much for the quick answer ^^

  • @kirylbehansky1315
    @kirylbehansky1315 Рік тому

    perfect!

  • @thenightguy6816
    @thenightguy6816 Рік тому +1

    Would love to see kinda animation recreated in tailwind css

    • @eleah2665
      @eleah2665 Рік тому +1

      Me too.

    • @viky2002
      @viky2002 Рік тому

      same like css but with class="[some css code here]"

  • @chudchadanstud
    @chudchadanstud Рік тому

    wow! it's gonna be janky, jittery and stutteryon Mobile.

  • @jimmynguyen5361
    @jimmynguyen5361 Рік тому

    number slot machine animation? 999,999 🤔 each digit needs to be animated to count up or count down to the final number -> 123,000

  • @dissolvesoftware
    @dissolvesoftware Рік тому

    Just 100 lines code?😀. AI has made me too lazy

  • @nmkyuppie
    @nmkyuppie Рік тому

    Yaaru saami nee?🤷

  • @michall
    @michall Рік тому

    now mobile version

  • @cyphermediaschool
    @cyphermediaschool Рік тому

    create a video on open source .

  • @changNoi1337
    @changNoi1337 Рік тому +2

    I think this is a horrible website. I feel stress using it. Its just too much, straight into my face with this big white "screenshot" comming up. Info.. I'm 32 and a webdevloper, not 70 or so..

  • @ihsannuruliman4005
    @ihsannuruliman4005 Рік тому

    first

  • @thechoosen4240
    @thechoosen4240 Рік тому

    Good job bro, JESUS IS COMING BACK VERY SOON;WATCH AND PREPARE

  • @afpwebworks
    @afpwebworks Рік тому

    There is no reason to put animations everywhere just b3cause you know how. That is the shittiest web page I’ve seen since my first web page on Netscape navigator in the 1990s

    • @roterdachs
      @roterdachs Рік тому

      its a training webpage, how you could implement different elements - smartass