Operators

Lesson 8
Author : Afrixi
Last Updated : October, 2017


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!
Table of Content

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