News for hackers. Stuff that matters.
Re:CSS Findings from the Threads App by eutropia on Sunday July 16, 2023 @09:11AM (#36746620)
if css made as much sense as regex I might actually enjoy front end work - there’s no underlying mathematical theory that explains css
Re:CSS Findings from the Threads App by never_inline on Sunday July 16, 2023 @09:20AM (#36746699)
Usually it's not the Automata theory parts of Regex that people find hard. It's the syntax.
Re:CSS Findings from the Threads App by gochi on Sunday July 16, 2023 @10:04AM (#36747124)
Understand the Box Model and you'll understand all of CSS.
Re:CSS Findings from the Threads App by tremon on Sunday July 16, 2023 @11:52AM (#36748368)
Hogwash. 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.

Re:CSS Findings from the Threads App by nicoburns on Sunday July 16, 2023 @11:47AM (#36748308)
> 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.