The Benefits of Inheritance via @extend in Sass
How web developers can use Sass' @extend feature to make their CSS cleaner, well-structured, and easier to maintain.
How web developers can use Sass' @extend feature to make their CSS cleaner, well-structured, and easier to maintain.
Reggie shows us how we can use @import, @extend, @media and @at-root in Sass.
Sass doesn't allow you to @extend a placeholder inside a media query from another scope. Here is a complex, but easy to use solution.
Bootstrap is a great tool but it produces awful code that is difficult to read and maintain. We'll use Sass to make Bootstrap classes easier to maintain.
Most Sass developers have a basic grasp of @extend. This article expands on the topic and shows you some things you might not know.