7 ms·
CSS is a lot like Regex to me. I learn enough to do what I need to do then immediately forget everything.
by MildRant 3y ago
CSS is a lot like Regex to me. I learn enough to do what I need to do then immediately forget everything.
- eutropia 3y agoif css made as much sense as regex I might actually enjoy front end work - there’s no underlying mathematical theory that explains css
- never_inline 3y agoUsually it's not the Automata theory parts of Regex that people find hard. It's the syntax.
- gochi 3y agoUnderstand the Box Model and you'll understand all of CSS.
- tremon 3y agoHogwash. Where in the box model are the precedence rules for selectors defined? How does the box model help with page layout and positioning? Animation? Transformations? Pagination? Sure, the box model is a prerequisite to understand CSS properly. But if you think the box model covers all aspects, you really don't know very much about CSS.
- nicoburns 3y ago> there’s no underlying mathematical theory that explains css There's a well-defined algorithm (well, set of algorithms) that explain it, which you can learn if you so choose.