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

Operators

Lesson 8
Author : GOUP
Last Updated : September, 2020


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;
}