Less - Style a Website
This course covers the basics of styling a website using Less. Work your way through the videos and we'll teach you everything you need to know to style a basic website!

Operators

Lesson 8
Author : Mike Dane
Last Updated : October, 2017


Code

Copy@base-size: 20px;
@base-color: red;

p{
     font-size: @base-size;
     color: @base-color;
}

button {
     font-size: @base-size * 2;
     background-color: @base-color + 200;
}