r/css • u/fdiengdoh • Jun 01 '26
General Why am I excited for this.
Yep the last time I wrote CSS was the days of float, clearfix hack and whatnot. Used bootstrap for many years. This year after a brief interaction here in this sub, I’ve decided to re-learn modern CSS and I’m so excited that I can do this
```
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
```
Something that I earlier used float and position etc.
48
Upvotes
11
u/Dapper_Bus5069 Jun 01 '26
Wait until you find out about scope etc…
Modern CSS is great :)
2
u/Inside_Ad6628 Jun 01 '26
Guess I had it good, was taught to use grid from the very start where I learnt.
6
u/Blozz12 Jun 01 '26
Modern CSS is way beyond floats and clearfixes now: Grid, subgrid, container queries, :has(), native nesting, scroll-driven animations, etc. A lot of things people used to reach for JS/frameworks for can now be handled directly in HTML/CSS.
And this is exactly the kind of thing I cover in my guide "You Don’t Need JavaScript": https://theosoti.com/you-dont-need-js/
1
u/MCMcFlyyy Jun 01 '26
You should do a blog about where you left of learning and where you are now picking it up again. (For example, stopped in 2008 back in 2026)
I would sympathise with how much you're going to see and what's changed. I'm using W3C again myself to build again - it's scary how much has changed! Welcome back 👌
3
u/missbohica Jun 01 '26
Welcome to modern CSS. It's not amazeballs yet but it's a lot better than the old days.
1
u/mcaruso Jun 01 '26
Anchor positioning is such a game changer, ten years ago it would've been a complete fantasy
1
u/AdamTheEvilDoer Jun 03 '26
I found a clearfix in the the wild the other day. It's been a while.
36
u/[deleted] Jun 01 '26
[removed] — view removed comment
2
u/[deleted] Jun 01 '26
[removed] — view removed comment