slight typo in the example usage code in the README.

This commit is contained in:
Peter Keating 2012-08-26 23:47:09 +02:00
parent 1604291d82
commit 7a5da71a3b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ For example, lets look at a bit of CSS3 code that adds a couple of rounded co
Browser specific code makes using CSS3 a chore. 6 lines of code just to add rounded corners. LESS mixins to the rescue. With LESS Elements the above can be compressed to just a 1 line:
#some_div {
#borders > .radius(5px, 0, 0, 5px);
#border > .radius(5px, 0, 0, 5px);
}
Looks just line shorthand CSS, with the values representing top right, bottom right, bottom left and top left corner radii in a clockwise order. To use LESS Elements, just download it (Github repo), put the “elements.less” file in your stylesheets folder and include it with 1 line of code at the top of your LESS file: