News for hackers. Stuff that matters.

dandep

Super interesting. I wish the doc page had a few examples.
Re:CSS-Native Parallax Effect on Tuesday June 02, 2026 @08:26AM (#48369330)
Thanks!
Re:CSS-Native Parallax Effect on Tuesday June 02, 2026 @08:25AM (#48369320)
OP here, thanks for asking. While the `perspective` technique works too, it has the downside of needing a careful combination of scroller elements and properties.

This approach adds a single class to the image container and that's it. Plus you can control many aspects of the animation such as entry/exit ranges, and make it control other properties like opacity or color, for example.

I know browser support is still lacking, but it will get there eventually. I'm not using this in production code yet, but I think it's useful to experiment with these new CSS APIs.

Re:Ask HN: What are you working on? (September 2025) on Monday September 29, 2025 @09:19PM (#45420920)
I’ve just finished Clampwind, a postcss plugin to easily generate utility classes for fluid css values

https://clampwind.dev

Re:Play with TailwindCSS in the Browser on Friday June 10, 2022 @09:40AM (#31694036)
started using tailwind when I hadn’t mastered css and it actually speeded up my learning, because: - faster iteration and experimenting - tw docs are great learning material too - tw classes are made by experts so you can indirectly learn what are best practices
Re:Martian Clock and Calendar (1991) on Monday November 29, 2021 @06:14AM (#29378490)
yep that makes sense, you can toggle the panel by pressing ARROW-UP, but you're right I should make that option visible, thank you!
Re:Martian Clock and Calendar (1991) on Monday November 29, 2021 @05:14AM (#29378134)
I've been fascinated with this topic. A calendar for mars should tell you when there are transfer orbits available, the hours of solar light and so on. I tried to make it real and named it Whole Mars Calendar [1], any feedback would be appreciated [1]:https://danieledep.github.io/whole-mars-calendar/
Re:What does any of this have to do with physics? (2016) on Wednesday March 10, 2021 @05:08PM (#26417019)
Emotional impact or not nautilus has a really high journalistic standards and plenty of masterpieces
Re:Show HN: Low-power Kindle-based dashboard on Thursday January 28, 2021 @12:09PM (#25944983)
Yes they have a peripheral mode with its own commands

https://inkplate.readthedocs.io/en/latest/peripheral-mode.ht...

Great resource! I played myself with dithering, applying it to images fetched from nasa's apis, from the rovers on mars and open sourced it. I really enjoyed the visual outcome, you can see it here: https://github.com/danieledep/rovers-dithering-playground
Re:Ask HN: Thoughts on new GitHub layout? on Tuesday June 23, 2020 @06:04PM (#23620947)
I really can't look at a list of items without separating lines, i think it's a basic need.
I like this aesthetic used in new ways, like https://boniver.withspotify.com/