News for hackers. Stuff that matters.

Theoleff

Re:The Future of CSS on Wednesday October 21, 2026 @02:00PM (#50185042)
Agreed. I think part of why it's hard to convey is that a lot of people formed their idea of CSS back when flexbox was new. These days an accordion is a few <details>, and a reading progress bar is a fixed div with animation-timeline: scroll(). You don't need JS for either.

(Full disclosure, I wrote a book on this, so I'm not exactly neutral: https://theosoti.com/you-dont-need-js/)

Re:The Future of CSS on Wednesday October 21, 2026 @01:53PM (#50184962)
Less than you'd think. A lot of it is just knowing the right element exists. A slide-out menu that closes on Esc or when you click outside is a button with popovertarget, a nav with popover, and a few lines of CSS for the animation.

(I'm biased, I ended up writing a book about this kind of stuff: https://theosoti.com/you-dont-need-js/)

Re:Ask HN: Could you share your personal website here? on Thursday January 15, 2026 @04:17AM (#46630090)
Here's my blog https://theosoti.com/ where I share mainly about CSS. They are a mix of long articles and some short ones to talk about stuff I'm currently learning.
Re:Tell HN: Happy New Year on Thursday January 01, 2026 @05:38AM (#46452980)
Happy New Year everyone. 2025 was a big year for me.

I spent a lot of time writing and sharing technical content, mostly about modern CSS. I didn’t expect much from it at first, but it slowly compounded.

Over the past year:

- On LinkedIn[0], my posts reached ~10M impressions and ~15k people decided to follow along.

- 1,800+ joined my newsletter.

- My blog[1] went from ~1–2 Google clicks/day to ~40/day.

- I published a book[2] about building UI with less JavaScript (185 copies sold so far).

What surprised me most wasn’t the numbers, but how much people care about clear, practical explanations and simple tools.

May 2026 be even better :)

[0]: https://www.linkedin.com/in/theosoti/ [1]: https://theosoti.com/ [2]: https://theosoti.com/you-dont-need-js/

Re:Replacing JavaScript with Just HTML on Sunday December 28, 2025 @04:43PM (#46414825)
Thank you, it means a lot!

I originally started writing it because I was tired of books becoming obsolete every two years while the underlying problems stayed the same.

Re:Replacing JavaScript with Just HTML on Sunday December 28, 2025 @04:41PM (#46414813)
Thanks for sharing that! It’s a super common story. Frontend patterns moved fast (especially for the last 3 years), and not always in a way that encouraged checking what the browser itself could already do.

If you want to improve a bit and discover more what CSS and HTML can do today, I also try to post daily on my LinkedIn: https://www.linkedin.com/in/theosoti/

Re:Replacing JavaScript with Just HTML on Sunday December 28, 2025 @06:10AM (#46410221)
Yup, at this point it feels more like habit than necessity. People learned to build things like dropdowns in JavaScript years ago, so they keep doing it that way.

A lot of devs simply don’t look any further when it comes to what HTML and CSS already provide.

Re:Replacing JavaScript with Just HTML on Sunday December 28, 2025 @04:28AM (#46409695)
The interesting part here isn’t “no JavaScript”, it’s that HTML already covers more use cases than people remember (forms, dialogs, validation, navigation).

I ran into this repeatedly while writing my book "You Don’t Need JavaScript"[0]: most JS in these cases isn’t adding capability, it’s compensating for forgotten platform features.

[0] https://theosoti.com/you-dont-need-js/

I wrote a book about modern HTML & CSS to create website with as little javascript as possible. I made almost 5k$ the first month, now I do 300-500$/month with it. Here’s the link: https://theosoti.com/you-dont-need-js/
Hi HN,

Over the past few months, I’ve been exploring how far modern CSS can go on its own. The result is an ebook called "You Don’t Need JavaScript".

It’s a collection of UI components (animations, modals, dark mode, etc.) built entirely with CSS, along with explanations of the techniques and philosophy behind them. The main idea: use the simplest tool that gets the job done, without sacrificing accessibility or creativity.

I’d love feedback, whether on the concept, the techniques, or even the way it’s presented.

Re:Ask HN: What if you didn't need JavaScript? on Wednesday May 14, 2025 @02:11PM (#43987544)
Good to know, thank you!
Re:Ask HN: What if you didn't need JavaScript? on Wednesday May 14, 2025 @01:51PM (#43987357)
Thanks for the link, not sure why it's not clickable in my post.

Ask HN: What if you didn't need JavaScript?

Hello,I’ve been working on a side project: a curated collection of modern, CSS-only techniques for building interactive UI components (like toggles, modals, dark mode…) without relying on JavaScript.The idea came from seeing how often we reach for JS when CSS is now more than capable. I’m putting these patterns into an ebook, focused on clean, accessible, and native solutions.Here’s the landing...

( Read More... | 6 comments | 4 points | on HN )
Re:Scroll-driven animation in full CSS on Sunday January 12, 2025 @05:14AM (#42672497)
Hi everyone,

I’m thrilled to share my new blog post on my frontend development blog!

This time, I’ve taken a deep dive into scroll-driven animations in CSS which are way better than JS animations. The blog continues to focus on making learning CSS fun and interactive, with hands-on examples you can play with directly in your browser.

Your feedback on this post would mean the world to me and will help shape the direction of future content.

Thank you for your support

Show HN: Create a Darkmode with Minimal JavaScript

https://theosoti.com/blog/darkmode-css/

Hello everyone,I’m excited to share a new project I’ve been working on:I’m building a blog all about frontend development, with a big focus on CSS.The goal? Write articles that are not just informative but also fun, with interactive examples to help bring concepts to life.It could be anything from building a component to diving into more abstract topics.Since it’s my first time writing a blog,...

( Read More... | no comments | on HN )