1
0
Fork 0
mirror of https://github.com/Oreolek/elements.git synced 2024-05-01 16:39:18 +03:00

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

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: 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 { #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: 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: