Re:It is hard to avoid JavaScript
by emllnd on Sunday February 25, 2024 @12:53PM
(#39502981)
> The real issue with CSS is the eternal question of, do I fill my parent or expand to fit children?
This is one of the real issues of GUI tools in general, not just CSS. You run into the same complexity on e.g. UIKit/SwiftUI (Apple) or any other toolkit that tackles the full complexity of defining UI layouts for any screen simultaneously.
Agree that CSS has a bit of extra cruft due to itβs evolution which makes it more difficult to learn and slower to work in than it perhaps could be if the web standards process allowed pruning features more easily
This is one of the real issues of GUI tools in general, not just CSS. You run into the same complexity on e.g. UIKit/SwiftUI (Apple) or any other toolkit that tackles the full complexity of defining UI layouts for any screen simultaneously.
Agree that CSS has a bit of extra cruft due to itβs evolution which makes it more difficult to learn and slower to work in than it perhaps could be if the web standards process allowed pruning features more easily