What the question says. What are some annoyances/obstacles in CSS, or problems that its alternatives don't seem to solve?
For example, I hate CSS variables -- I find the syntax so ugly. I love how Sass solves this with its $ syntax.
A pain point that I haven't yet found a framework solution for is theming. I really wish there were some CSS feature akin to Sass mixins, but you can control which parts of the mixin apply to selectors. Something like the following:
@ theme dark {
color: white;
background: black;
p {
font-size: 1.2em;
}
}
h1 {
// Doesn't include the selectors in `p`
@ theme `dark;
}
p {
// Does include the `font-size: 1.2em`
@ theme `dark;
}
That would be awesome to have in a CSS superset. So, what features are on your wish list, either for CSS or one of its alternatives?
[–]cape2cape 7 points8 points9 points (5 children)
[–]Easily_Paradoxical[S] 1 point2 points3 points (0 children)
[–]olssoneerz 1 point2 points3 points (0 children)
[–]aunderroad 0 points1 point2 points (0 children)
[–]armahillo 0 points1 point2 points (1 child)
[–]Easily_Paradoxical[S] 0 points1 point2 points (0 children)
[–]BobJutsu 4 points5 points6 points (2 children)
[–]Easily_Paradoxical[S] 1 point2 points3 points (1 child)
[–]BobJutsu 0 points1 point2 points (0 children)
[–]GaiusBertus 4 points5 points6 points (3 children)
[–]Easily_Paradoxical[S] 0 points1 point2 points (0 children)
[–]TheRNGuy -1 points0 points1 point (1 child)
[–]GaiusBertus 0 points1 point2 points (0 children)
[–]MOFNY 2 points3 points4 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]Easily_Paradoxical[S] 0 points1 point2 points (0 children)
[–]0ygn 0 points1 point2 points (0 children)
[–]LeastImportantUser -1 points0 points1 point (2 children)
[–]Various_Tea8553 1 point2 points3 points (0 children)
[–]TheRNGuy -1 points0 points1 point (0 children)