Комментарии:
Omg merci ! ☺️
Ответитьthank you very much
Ответитьnot working :-(
Ответитьchanging scroll behavior should be illegal
ОтветитьDamn! So much has changed! I remember having to code this in JavaScript.
ОтветитьWhy on earth is this not the default value?
ОтветитьWow man I your fan
ОтветитьThis works in the browser on my computer but does not work on my phone when I host the project on Netlify… any solutions to that ???
ОтветитьWow - great!
ОтветитьDoesn't work on Safari, either iOS or macOS.
ОтветитьBut we use js for it because of safari
ОтветитьWdf i really didn't knew that, i added third party Javascript library for smooth scrolling lol.
ОтветитьKevin I love you
Ответитьhow do you know all this stuff man!
ОтветитьWhaaattts?
ОтветитьLove this one !!!
ОтветитьIt works on safari?
ОтветитьI thought you need JS for this..
ОтветитьThat's very helpful! I just got finished with a smooth scroll tutorial yesterday which involved 13 lines of javascript.
ОтветитьIs there actually a top-offset for this? In case of a sticky navbar or whatnot.
ОтветитьPowerfull
Ответитьthe truth is safari can NOT support this css now🙁
ОтветитьBueno
ОтветитьDo you know some workaround on Safari for this one? :)
Ответитьlove these short! snippet that my shorterm soan can consume
ОтветитьI feel like Safari is becoming next IE.
ОтветитьI don't code but this is a nice feature, everytime I click on those links and they jump to the subject I just get lost and don't know what in looking at haha
ОтветитьI always knew the smooth scroll is a Javascript thing. Didn't know there was an even easier one.
Ответить💯
ОтветитьNow I know....
Ответитьkeep these coming please
Ответитьall cool and everything but it doesnt work on a regular chrome. In order for it to work on chrome the user has to turn on an experimental "smooth scroll" flag. Thats why this solution i crap and you still have to use jquery to make it full responsive
ОтветитьThanks for this! :D
ОтветитьHow do you make a the page longer tho?
ОтветитьUnfortunately, it doesn't work on Safari.
ОтветитьI used this sometimes ago... It's good to be reminded of it... Thanks.
ОтветитьOnly other thing I'd recommend is wrapping in a media query that checks for the prefers-reduced-motion setting, for accessibility reasons.
ОтветитьNice
ОтветитьI have used libraries for this so many time. What a waste of time it has been
ОтветитьNot work in safari
ОтветитьGood. good. Surprise us more
ОтветитьI’m learning to code an I plan on doing this w/ my portfolio. In my head I was thinking this was super hard to code, welp guess not. Thank you for the vid
ОтветитьI love that cool tricks.
ОтветитьWhich app you're using for code all programs in one thing
ОтветитьIt's like border-radius in the past, we actually didn't need it, but it's better having it.
Ответитьoh ma ga, it's perfect
ОтветитьAWESOME!
ОтветитьNot supported for safari yet*
Ответить