easy to get into trouble for sure.
flexbox made things so much easier, but still hard. There are just too many rules to keep in your head about
displayandpositionand how they affect other attributes. And the box model… wow. margin, border, padding, content, but he attribute isbox-sizingand it has border-box and content-box, but not the others.IINM it was written by people who came from print media (just like HTML) and that stuck.
deleted by creator
i hate that i understand this
I am struggling with using flex for the first time and holy cow do i feel this
Out of the 3 main web languages I use to develop my games (HTML, CSS, and JavaScript), CSS is definitely my least favorite.
HTML is relatively simple and understandable such that bugs rarely get introduced into my HTML code.
JavaScript, while janky and not known for good performance, will work without too much trouble compared to other languages (I’m looking at you, C++). No segfaults, effortless type casting, intuitive syntax, and debugging is fairly easy. Worst part is editing HTML and styles with JavaScript, it just feels clunky, to both the programmer and the CPU.
And then there’s CSS. Despite being a language dedicated to making things look pretty, it’s just an unintuitive list of properties on HTML classes. So many times it takes way too long to do a simple thing like center text in a div when there is other text that is meant to not be centered. But I guess I’m not using it to its fullest potential, as I recently came across an article that listed many pretty graphics, often animated, that was purely made using CSS.
Me in the late 90s: CSS is not a language!
Today: Holy crap, it’s now Turing-complete.
When did CSS become Turing complete?
Some guy has too much free time if you ask me
I mean it’s awesome, but seriously, too much free time…
Yeah, because anything that isn’t a big new JavaScript framework is just way too complicated
Totally agree with this. I was trying to do CSS theming on my personal website on SDF to try and make it look nicer but I gave up and just went without it because it never worked right. It’s a crappy website anyway with a lot of problems (doesn’t have correct margins so on anything outside specific resolutions it looks wonky).




