|
|
|
|
|
by lioeters
3335 days ago
|
|
As for the second point, at least how I use it, is that I can create a higher-order class from those "atomic" classes like bold, etc. So I'd do in Sass: .paragraph--emphasize {
@extend .bold, .text-decoration-none, .caps;
}
Then apply that class on the paragraph. This way, the resulting CSS is very compact: the above gets compiled so that the higher-order class uses the same styles as the atoms that compose it. |
|