All Questions
5 questions
2
votes
1
answer
377
views
Less CSS Mixin for positioning with options for corresponding top, left, right, bottom values
I've created a Mixin in Less CSS. It can do the following things:
Set the position-rule of an element.
Place the element in one of the corners (e.g. top left, bottom right etc.)
Alternatively it can ...
3
votes
1
answer
84
views
LESS CSS, including support for shadowboxes
I'm learning about using LESS and wanted to get anyone's input on if I'm using the concepts, syntax, etc. correctly.I know this might seem subjective and not the correct place to post, so please let ...
-2
votes
1
answer
10k
views
Simplify LESS :hover and :focus
I have the following snippet of LESS code to generate CSS. I have some different classes which I apply to different elements, and on hover or focus they should change color.
...
4
votes
1
answer
162
views
Can my Less CSS code be improved?
I just started getting into the Less CSS framework and I am wondering if I'm doing it right and how the code can be improved if possible.
global.less
...
5
votes
1
answer
143
views
How can I reduce this .less call to one line per image
How can I simplify this .less code to require less repetition (i.e., so that I can have many buttons with normal, rollover, and pressed states without using 3 lines for each button):
...