lessExtend


Introduction

This is related to the extend functionality of less, which was introduced in v1.4.0.

"Extend is a Less pseudo-class which merges the selector it is put on with ones that match what it references." [ref]

Syntax

  1. selector1:extend(css selector){ //other styles go here}
  2. selector1{ &:extend(css selector)); //other styles go here }

Parameters

ParameterDetails
css selectorThis is any generic CSS selector, and may include .class, #id, ::pseudoElements, etc