Added "debug" mixin.
My goto for troubleshooting CSS is slapping a single pixel red border around the element. .debug does just that. Optional parameters are color and "style" (which by default is 1px solid).
This commit is contained in:
parent
191754c0ec
commit
82de98776f
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*---------------------------------------------------
|
||||
LESS Elements 0.9
|
||||
LESS Elements 0.9 + My Hax0rin’
|
||||
---------------------------------------------------
|
||||
A set of useful LESS mixins
|
||||
More info at: http://lesselements.com
|
||||
|
@ -153,4 +153,7 @@
|
|||
-moz-background-clip: @argument;
|
||||
-webkit-background-clip: @argument;
|
||||
background-clip: @argument;
|
||||
}
|
||||
}
|
||||
.debug(@color: red, @sizeStyle: 1px solid) {
|
||||
border: @sizeStyle @color;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue