modern.css
26 posts

modern.css
@moderncss
Curated collection of modern CSS code snippets. Every old CSS hack next to its clean, native replacement, side by side.
Interwebz Katılım Şubat 2026
25 Takip Edilen59 Takipçiler
modern.css retweetledi

CSS shape() is now Baseline Newly Available → goo.gle/47nnZBG
The shape() function allows you to create responsive, complex paths for layouts and animations using standard CSS units like %, rem, and calc().
English
modern.css retweetledi

modern.css retweetledi

CSS nesting is now Baseline 🎉
Write nested selectors directly in CSS — just like Sass, but natively.
.card {
color: black;
&:hover { color: blue; }
.title { font-weight: bold; }
}
No preprocessor needed.
Learn more 👇
developer.mozilla.org/en-US/docs/Web…
English
modern.css retweetledi
modern.css retweetledi
modern.css retweetledi
modern.css retweetledi
modern.css retweetledi
modern.css retweetledi

Modern CSS #code Snippets: Stop writing CSS like it's 2015 modern-css.com
English

Check out my March Mad CSS bracket picks! 🏀
madcss.com/bracket/naeemn…
English
modern.css retweetledi
modern.css retweetledi

One of the best websites I've come across recently, I had a bunch of these already that I've saved myself over the years so glad to see them compiled openly in such a neat way
Thank you so much whoever built this
modern-css.com
English
modern.css retweetledi

just came across @moderncss, perfect timing as i’m building a UI library, where a lot of this good techniques will be useful
English
modern.css retweetledi

Tous les hacks CSS d'avant à côté de leur équivalent moderne et natif : une collection de snippets bien utile pour nettoyer son code @moderncss
modern-css.com

Français

@moderncss you guys are hosted your website on very bad hosting. (H word)
please change. its shows boolshit captcha.
English













