2 ms·
if css made as much sense as regex I might actually enjoy front end work - there’s no underlying mathematical theory that explains css
by eutropia 3y ago
if 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.