What does "immutable" mean in the context of CSS?
back
3 comments
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..
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?
Multi class patters render faster in the browser than inline styles. And I also think more readable especially with a series of single purpose classes that only target one breakpoint.