Testing the compiler in LESS
Now let's test the compiler. To do this, you need to make a file with the LESS test code. This file should have the extension .less. Let's add the following content to it:
div {
p {
font-size: 20px;
}
}
Following the instructions in the documentation of the compiler you have installed, compile your .less
file into .css
. You should see the following code as a result:
div p {
font-size: 20px;
}
Perform the described manipulations. Make sure that your compiler works.