Re:Basscss – Low-level CSS toolkit
by tobr on Sunday April 12, 2015 @05:40AM
(#9362774)
What does "immutable" mean in the context of CSS?
[ Parent
| on HN ]
Found their definition[0] of what immutable means. Apparently the idea is that you can trust that the rules in an immutable CSS selector will never change in the future. "Immutable" seems like a pretty confusing term for this.
[0] http://www.basscss.com/docs/reference/principles/#immutable-...
I guess after "Object-oriented CSS" it was inevitable we would get Functional CSS...
As per site description "Simple, composable typographic and layout utilities based on common scales promote faster design and development in the browser and more performant, more readable code with no side effects."
Not sure technically how this is immutable..
Re:Basscss – Low-level CSS toolkit
by danieldisu on Sunday April 12, 2015 @08:36AM
(#9363127)
I think that it means that if you put a class called .block it will ONLY add the attribute display: block;
After doing that enough times, won't it basically look like a smaller version of inline css?