this post was submitted on 02 Aug 2023
66 points (100.0% liked)

Programming

13368 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (2 children)

I'd encourage you to take a look at modern CSS with a fresh eye. It's gotten really good. Good enough I've got another blog post in the works talking about how much goddamned fun its gotten. In the last few years alone, we've got sass-style nesting, parent selectors (!), combinator selectors (roughly like list comprehensions in their ability to fill out a matrix of potential selectables), color functions, and far more.

[–] [email protected] 4 points 1 year ago (1 children)

wholeheartedly agree! css has been my main job for going on 15 years because i’ve always enjoyed its quirks. the past 5 years or so have felt like leaps and bounds in terms of how i structure markup and styling. it’s such a fun language to learn. stuff like flex and grid make my work so much easier so i can spend more time on the fun stuff.

[–] [email protected] 6 points 1 year ago (1 children)

But can you vertically and horizontally align something that isn't text reliably by now?

[–] [email protected] 4 points 1 year ago (1 children)

yes! flexbox is great for this.

[–] [email protected] 3 points 1 year ago

(and grid, which is very very similar to flexbox and uses much of the same rules)

[–] [email protected] 3 points 1 year ago

Thank you for this response. Indeed I will. And feel excited to do so :) Look forward to that blog post as well.