|
|
|
|
|
by akdetrick
4987 days ago
|
|
You can either repeat yourself by using "@extend %mypattern" in Sass using this methodology, or repeat yourself in the DOM with ".mypattern" in the OOCSS approach. Both are elegant ways of handling the same task, but I don't think one is much more DRY than the other. I'd argue that it's more correct to describe a class once and apply it to many elements (OOCSS) than it is to describe it many times over and apply it to each element individually (Sass @extend). |
|