LESS CSS = http://lesscss.org/
I declared a variable, like this... @height: 30px
@height: 30px
Then I used a simple calculation, like this... line-heigh
line-heigh
Yes they can:
line-height: ceil(@height * .666); // 20px (round up) line-height: floor(@height * .666); // 19px (round down) line-height: round(@height * .666); // 20px (round to closest integer) line-height: round(@height * .666, 1); // 20.0px (round to 1 decimal place)