Extend vs. Mixins in Less

May 27, 2014

If you’ve ever used Less before, you’ve almost definitely leveraged the power of mixins to DRY up your stylesheets.

Maybe you had some standard button styling like this:

.btn {
  background: blue;
  color: white;
}

…and you wanted to include those styles in another more specific button.

Read the rest of this post »