Portfolio Pure CSS Scroll Snapping Tutorial

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • If you want to see more tutorial like this, make sure to SUBSCRIBE!
    Here is a first of many tutorials for you guys on creating fancy and fun stuff for your personal portfolios // personal websites. All of these tutorials using plain CSS or a combination of CSS and JavaScript should make your websites be top of their game, professional, with great user experience!
    JOIN MY DISCORD SERVER ► / discord
    FOLLOW ME ON INSTAGRAM ► / developerfi. .
    CHECK ME OUT ON GITHUB ► github.com/Fil...
    INQUIRIES AND COLLABORATIONS ► grebowskifilip@gmail.com
    WATCH MORE OF MY VIDEOS ►
    ►Web Developer Reacts LATEST • Web Developer Reacts t...
    ► Perfect your Resume/CV • How to CREATE the PERF...
    ► I Built my DESK! • Building my Minimalist...
    ► Get Hired as a Software Developer • HOW TO get $100,000+ S...
    ► 6 Developer Life Hacks in 90 Seconds: • 6 SOFTWARE DEVELOPER L...
    ► Best Chrome Extensions for Developers: • BEST Chrome Extensions...
    ► Reacting to Incredible Personal Websites: • Web Developer Reacts t...
    ► FUN day in the life of a Developer: • FUN day in the life of...
    MUSIC BY ► @epidemicsound
    #developer #tutorial #webdev

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

  • @developerfilip
    @developerfilip  3 года назад +106

    For anyone having trouble to make the SCSS work, and you are using Visual Studio Code, you need the "Live SASS Compiler" Plugin installed and turned on :) Have fun!

  • @saranyaghosh2003
    @saranyaghosh2003 3 года назад +161

    Can you please make this a series?This is really helpful!

  • @markasgrazhulis9081
    @markasgrazhulis9081 3 года назад +26

    Thank you I'm an 11-year-old developer I'll probably be using this

  • @erin1569
    @erin1569 2 года назад +10

    Apparently, the scrollbar adds some px to the section's width (in some browsers), so the total width of each section becomes vw+scrollbar>vw resulting in an overflow x when you have a scrollbar y
    I usually set the width of each section to 100% instead of 100vw

    • @styxshy5704
      @styxshy5704 2 года назад +2

      I meet the same problem here, and I used React and tailwind-styled-components.
      Another issue that troubled me all these days is,
      when I set the horizontal overflow view, I got an X scrollbar instead of scrolling down to the left pages.
      I used useEffect to add an event listener to solve it.
      HOWEVER, I am wondering if there is any method easier?
      Because I don't wanna listen to the whole wheel event all the time...

    • @eggrat3381
      @eggrat3381 Год назад

      @@styxshy5704 how did you do that can u tell me?

  • @goytu5493
    @goytu5493 3 года назад +14

    Awesome tutorial! *Definetly* will be using this!

  • @domizianoscarcelli1936
    @domizianoscarcelli1936 3 года назад +1

    Bro why didn’t this channel blow up yet

  • @hitarthagogoi2829
    @hitarthagogoi2829 3 года назад

    Idk why, But I'm receiving this video multiple times in recommendation.

  • @amandeepchauhan6091
    @amandeepchauhan6091 3 года назад

    Just 15:16 min of content have tons of knowledge,how is it even possible....
    Today I was just trying to find how to make my website horizontally scroll and booooom...... RUclips algo showed me your video and now I'm proud to be your new sub 🔥🔥🔥

  • @InWardHayden
    @InWardHayden 3 года назад +2

    If anyone want to know how justify-content works, is depend of the flex direction, if the flex direction is row (which is by default) will be horizontal, if it is colum, will be vertical and align-items will be the one to center the things horizontal.In a nutshell, justify-content works in flex direction value.

  • @nyoreachoja2068
    @nyoreachoja2068 Год назад

    Thank you so much for this. Googled so much and didn't find what I wanted much less explained in such a simple way.

  • @VIKASH1870
    @VIKASH1870 3 года назад +1

    This is what I have needed for my current project. I was using JS for this, uffff..... Thank You

  • @nikkiivanov7995
    @nikkiivanov7995 3 года назад +4

    I just wanted to say I love your videos they are very entertaining and educational 👍

  • @isableye7164
    @isableye7164 3 года назад +1

    I just found out your channel today and being enjoying it so much. Thank you for the great content and please never stop uploading.

  • @benjaminlevinson5205
    @benjaminlevinson5205 2 года назад

    Been looking for a scroll snapping tutorial as good as this for a while now (just wasn't understanding it). You're a God send Filip!

  • @CalvinBonner
    @CalvinBonner 3 года назад +1

    So sick. I'm really tired of doing this with JS& jQuery so this makes my life 100× easier!

  • @arogueotaku
    @arogueotaku 3 года назад

    did not know that you can ignore flexbox shrinking the children width by setting the child's flex to none. Learned something new from this video! +1 from me (y)

  • @gabrielreliquias5253
    @gabrielreliquias5253 Год назад

    you are awesome!! I was looking for that for so long time

  • @markasgrazhulis9081
    @markasgrazhulis9081 3 года назад +2

    I used to use smooth-scroll but this is way more fancier

  • @ezramengesha8165
    @ezramengesha8165 3 года назад +2

    This would be a sick series. Maybe something along the lines of teaching common/cool CSS tricks like this, or parallax scrolling, or animations.

  • @TECHNOLOGYENABLED
    @TECHNOLOGYENABLED 3 года назад +13

    can we have more small tutorials like this plz

  • @niclienquan8703
    @niclienquan8703 3 года назад

    I'm from Vietnam, I appreciate your video, it's quite good and useful

  • @mirchm
    @mirchm 3 года назад

    Just started learning some html and css. I had a rly basic tutorial, but i swear this video made me understand so much so quick(i di have some java experience). 10/10 thank you

  • @adrianjuarez4423
    @adrianjuarez4423 3 года назад +2

    This is truly amazing content, would like to see more of this "tips and tricks" or a css series. Great video!

  • @iDeviceSlash
    @iDeviceSlash 3 года назад +3

    please make this a series and i'd be nice if you bring more fancy yet simple stuff ✨
    Cheers!

  • @juillotine
    @juillotine 2 года назад +1

    Yoooooo this is awesome

  • @tusharsaha321
    @tusharsaha321 3 года назад +1

    Your explanation is so good. Would love to see you make more tutorials like this.

  • @newjio4334
    @newjio4334 3 года назад

    amazing bro just no words you did it with css !!!!

  • @jaypratap3888
    @jaypratap3888 3 года назад +1

    Great work man 🔥

  • @user-bi3xn8dj7y
    @user-bi3xn8dj7y 3 года назад

    got a google reccomend for your video and wow so good ! good luck with future vids, will definitely subscribe 👍🏻

  • @darshandev1754
    @darshandev1754 3 года назад +1

    great tutorial, just revamping my site, and this pops up, nice timing

  • @ayoubibourkelidrissi1231
    @ayoubibourkelidrissi1231 3 года назад +1

    Hey filip, i want to thank you for making this video

  • @rye013
    @rye013 3 года назад

    I was thinking of using this snap for my website now I finally have tutorial. Thanks a lot

  • @michelefernandoloureiroros4366

    Amazing tutorial, thanks!

  • @sheerasai5948
    @sheerasai5948 2 года назад

    Thank you Filip 😊

  • @subhasrini2706
    @subhasrini2706 3 года назад

    Really nice tutorial and I’ve not touched scss but your tutorial just blew my mind and I’ll be usin it

  • @kuzmicheff
    @kuzmicheff Год назад

    Great vid! Thanks for sharing!

  • @symamaisonsbois2281
    @symamaisonsbois2281 Год назад

    Brilliant! Thank you!

  • @piyushs8176
    @piyushs8176 3 года назад +3

    Thanks man, will try it out for sure :)

  • @MsMelanie117
    @MsMelanie117 2 года назад

    Really cool I will use it tomorrow on my project. Thank you.

  • @NitinKankarwal
    @NitinKankarwal 3 года назад

    Great video Filip. I definitely will be using this

  • @dankcommenter5889
    @dankcommenter5889 2 года назад

    Fantastic. This was so easy to understand as you elaborated to simply.👍

  • @omkarp9943
    @omkarp9943 2 года назад

    Thank you bro!! That's what I wanted🙌🏻

  • @IshanKesharwani
    @IshanKesharwani 3 года назад +1

    This was such an amazing video 😍

  • @manjeetdhayal2595
    @manjeetdhayal2595 3 года назад

    One of the best I have ever seen ❤❤.
    Please continue with more such cool vedios 🦚

  • @stevenerixon33
    @stevenerixon33 3 года назад +14

    5 minutes in and I really like your style of teaching. Very easy to understand and code along! Subbed for sure! =)

  • @holymacaroni3319
    @holymacaroni3319 3 года назад

    amazing tutorial and great explanation dude! please make this a series..

  • @soni801
    @soni801 3 года назад +8

    For the record: this does not work nicely with a computer mouse. it works great and looks amazing with a trackpad, but looks very bad if you try to use a mouse wheel on it. Therefore, I would actually recommend using JS for this instead, especially if this is something you're going to use on a professional portfolio :)

    • @filipjelic8806
      @filipjelic8806 3 года назад +3

      Just tried coding it, I was really disappointed when I found out that it will snap only if the next section is taking 50% of the page

    • @crazydevil3090
      @crazydevil3090 2 года назад

      please can you tell me how to do that on mouse?

  • @mstfsgdc
    @mstfsgdc 3 года назад

    Awesome tutorial, thanks and please keep continue & make this a serie.

  • @dell4559
    @dell4559 2 года назад

    thanks bro this video really helped me for my projects

  • @nobody-bt7mu
    @nobody-bt7mu 2 года назад

    I'm so gonna use this! This is fun.

  • @iuhere
    @iuhere 2 года назад

    very helpful, thank you !♥ good luck 👍for next one!

  • @himanshukamal1
    @himanshukamal1 3 года назад

    Hey Filip. This is beautiful. Thankyou for sharing

  • @VidarrKerr
    @VidarrKerr Год назад

    AWESOME! Thank You!!!

  • @Adhithya2003
    @Adhithya2003 3 года назад +1

    Damn that was so cool. Thanks

  • @adrielschmitz
    @adrielschmitz 3 года назад

    Super cool bro, congrats!!

  • @cesarduarte9313
    @cesarduarte9313 3 года назад

    Love this video!! Super easy to understand and very clear.. Thanks man! keep it going! love it!

  • @aryantnigam2246
    @aryantnigam2246 3 года назад

    Simple and aesthetically appealing

  • @mouradbousba5215
    @mouradbousba5215 2 года назад

    easy and clear thank you Filip

  • @mohammedjuzer9748
    @mohammedjuzer9748 2 года назад +1

    Hello...
    Your tutorials are awesome!!!!
    Any possible way you can make the whole tutorial on scroll animations?

  • @SweetPeachannel
    @SweetPeachannel 2 года назад +1

    How to change the background for differeent section please?

  • @crlntravels
    @crlntravels 3 года назад

    Thank you so much Filip for this helpfull video, amazing! Lots of love

  • @bissu21
    @bissu21 3 года назад

    Aaah... such a nice small css tut😁❣️

  • @victorcandiani
    @victorcandiani 3 года назад

    Great Tutorial, thanks from Brazil

  • @jakobo5521
    @jakobo5521 2 года назад +1

    Zajebista sprawa, dzięki piękne za taki CSSowy smaczek. Pozdro! :)

  • @ryaaan0751
    @ryaaan0751 2 года назад

    Thanks for this!

  • @shin5302
    @shin5302 2 года назад

    This is a really good explaination. Thank you!

  • @cyrusthapa4149
    @cyrusthapa4149 3 года назад

    It was nice ! Do more of these !

  • @pranavyeole102
    @pranavyeole102 2 года назад

    wow this was cool!!

  • @mashodrana1485
    @mashodrana1485 2 года назад

    love this

  • @box90s13
    @box90s13 3 года назад

    Thank you Filip for tutorial

  • @kreten780
    @kreten780 Год назад

    If you're having problems with an extra scroll bar, add "overflow: hidden;" into body class.

  • @RaxtersVlog
    @RaxtersVlog 3 года назад

    Amazing… love it. Surely gonna give a try 🤙🤙

  • @requenz_
    @requenz_ 3 года назад

    Very simple but informative video!

  • @patapizza3382
    @patapizza3382 3 года назад

    I needed this! Thanks!

  • @itaispector6040
    @itaispector6040 3 года назад

    Really nice one!! thanks for sharing!

  • @angelomancilla7153
    @angelomancilla7153 3 года назад

    Omg so cool, thanks 😁 regards from Perú

  • @HSNMSD
    @HSNMSD 3 года назад +1

    output doesn't work what do all are same way

  • @dominiklasek4511
    @dominiklasek4511 3 года назад

    4:48 these moment burned my eyes... XD

  • @harishr9342
    @harishr9342 3 года назад

    SUPERB!!!!!!

  • @sarthaksharma4816
    @sarthaksharma4816 2 года назад

    Thanks bro! ♥

  • @prudhvichinnam1488
    @prudhvichinnam1488 3 года назад

    Please do this tutorials more ❤️

  • @mateopetruccelli3156
    @mateopetruccelli3156 3 года назад

    Nice video dude!

  • @stefanienaiser3066
    @stefanienaiser3066 2 года назад

    Hi Filip… you are a really a Great teacher, I‘ve just a Little Problem with css. Might be possible That the Sass Compiler makes trouble ..
    The Child is Not recognized as section Child …
    Cheers steff

  • @momakplayz7985
    @momakplayz7985 3 года назад +2

    Hi, Ive used codepen to code what you did, and there was no animation or anything like scroll snapping. Can you please tell me why?

  • @manas3905
    @manas3905 3 года назад

    a shorthand : You can use shift+alt+down arrow instead of copy paste in vscode

  • @alexbird1507
    @alexbird1507 Год назад

    tf, why are you flipping my nose at the start, what did I do to you?!

  • @ahsath
    @ahsath 3 года назад

    Crazy simple

  • @kasraghasemipoo7991
    @kasraghasemipoo7991 3 года назад

    That was Very useful ...appreciate it

  • @meixel
    @meixel 3 года назад

    THANK YOU SO MUCH

  • @prathameshladkat7352
    @prathameshladkat7352 3 года назад +1

    Sir we will love to know how to move 3d objects in js.
    Love ur videos❣

  • @himanshusahu6960
    @himanshusahu6960 3 года назад

    Amazing I going to try it now.

  • @darshanrajpattanaik2154
    @darshanrajpattanaik2154 2 года назад

    9:32 start of relevant code if parent and child are made

  • @anubhavnegi4230
    @anubhavnegi4230 2 года назад

    want a video of horizontal animation of different pages on website that moves like a carousel but they are pages and not images ( with a timer of course)

  • @divyashreesoni663
    @divyashreesoni663 3 года назад

    Fabulous explanation ✨

  • @hoff_mann
    @hoff_mann 3 года назад

    hi, great video.
    from brazil🇧🇷🇧🇷

  • @shohqadamm
    @shohqadamm 2 года назад

    great tuts

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

    It was very useful

  • @freshpootube
    @freshpootube Год назад

    HEY! I used this method but for AGES I couldn't align anything absolute in each 'section' or DIV once I'd done it. Found you must add "contain: content" to the section to stop the display properties cascading into every DIV. It doesn't demonstrate a real world use with just the one bit on text in each section.

  • @madebytl
    @madebytl 3 года назад

    Thank you mate 😊

  • @tuukiiit163
    @tuukiiit163 2 года назад

    thank you so much