Live data from Hacker News

CSS is DOOMed

nielsleenheer.com

41–50 of 120 posts

Re: CSS is DOOMed

#42
post #31

But where can I try it out in my browser? EDIT: https://cssdoom.wtf/

Works smoothly in Firefox. But the default key mapping is busted: fire at Alt means that it opens and closes the menu in Firefox with each press. Also, Alt + left arrow ends the game and goes back in history. Interestingly, it was more choppy in Chromium. I could not find a key for moving sideways ("strafing"). All in all, quite mind-boggling.

> Interestingly, it was more choppy in Chromium.

Firefox's WebRender is truly a great creation. While Chrome is faster at most things especially involving JS, Firefox puts so much of its rendering on the GPU so moving elements around is incredibly fast.

Re: CSS is DOOMed

#46
post #45

This page could use some "Practical CSS scroll snapping": https://css-tricks.com/practical-css-scroll-snapping/

The live demo doesn't work in Brave.

The demo really does not work in Brave. I use vertical scroll snapping on the landing page of one of my projects (enabled for screens with a min width of 768px and a min height of 600px - should work in Brave): https://cybernetic.dev

Re: CSS is DOOMed

#47

Earlier quoted context omitted.

I was amazed when I first came across CSS scroll snapping. It's great for creating immersive experiences where one part of the page fills the entire screen while native browser scrolling still works.

When done right, I oddly find it immersive too. But know some people aren't fond of scrolling being tampered with. The post here could really use it though. The main content is pushed to the bottom of the page!

Yes, and in most cases it's perfectly valid not to interfere with scrolling. The nice thing about CSS scroll snapping is of course that the browser still handles it (instead of it being taken over by JS).

Re: CSS is DOOMed

#49
Couldn't agree more ... Especially how platforms like Stitch 2 are eliminating the barriers for non-technical individuals to actually get pretty decent UI/UX experience ..
Post reply on HN