Комментарии:
Not supported for safari yet*
ОтветитьAWESOME!
Ответитьoh ma ga, it's perfect
ОтветитьIt's like border-radius in the past, we actually didn't need it, but it's better having it.
ОтветитьWhich app you're using for code all programs in one thing
ОтветитьI love that cool tricks.
Ответить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
ОтветитьGood. good. Surprise us more
ОтветитьNot work in safari
ОтветитьI have used libraries for this so many time. What a waste of time it has been
ОтветитьNice
ОтветитьOnly other thing I'd recommend is wrapping in a media query that checks for the prefers-reduced-motion setting, for accessibility reasons.
ОтветитьI used this sometimes ago... It's good to be reminded of it... Thanks.
ОтветитьUnfortunately, it doesn't work on Safari.
ОтветитьHow do you make a the page longer tho?
ОтветитьThanks for this! :D
Ответить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
Ответитьkeep these coming please
ОтветитьNow I know....
Ответить💯
ОтветитьI always knew the smooth scroll is a Javascript thing. Didn't know there was an even easier one.
Ответить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 feel like Safari is becoming next IE.
Ответитьlove these short! snippet that my shorterm soan can consume
ОтветитьDo you know some workaround on Safari for this one? :)
ОтветитьBueno
Ответитьthe truth is safari can NOT support this css now🙁
ОтветитьPowerfull
ОтветитьIs there actually a top-offset for this? In case of a sticky navbar or whatnot.
ОтветитьThat's very helpful! I just got finished with a smooth scroll tutorial yesterday which involved 13 lines of javascript.
ОтветитьI thought you need JS for this..
ОтветитьIt works on safari?
ОтветитьLove this one !!!
ОтветитьWhaaattts?
Ответитьhow do you know all this stuff man!
ОтветитьKevin I love you
ОтветитьWdf i really didn't knew that, i added third party Javascript library for smooth scrolling lol.
ОтветитьBut we use js for it because of safari
ОтветитьDoesn't work on Safari, either iOS or macOS.
ОтветитьWow - great!
Ответить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 man I your fan
ОтветитьWhy on earth is this not the default value?
ОтветитьDamn! So much has changed! I remember having to code this in JavaScript.
Ответитьchanging scroll behavior should be illegal
Ответитьnot working :-(
Ответитьthank you very much
ОтветитьOmg merci ! ☺️
Ответить