Extend is a feature of Less. The extend feature acts as a pseudo class which extends other selector's styles in one selector by using: extend selector.
Let's take an example to see the use of extend in Less file.
Create a HTML file named "simple.html", having the following data.
HTML file: simple.html