March 13, 2013 10:25 pm GMT
Original Link: http://css-tricks.com/the-lengths-of-css/
The Lengths of CSS
There are quite a few properties in CSS that take a length as a value. The box model properties are the obvious ones: width, height, margin, padding, border. But plenty of of others as well: the offset and sizing of a box-shadow or the size and spacing of fonts. What are all the accepted "length" properties in CSS? There are quite a few.
The Absolute Lengthspx
.wrap { width: 400px; }
Pixels are perhaps best thought of as "device …
The Lengths of CSS is a post from CSS-Tricks
Original Link: http://css-tricks.com/the-lengths-of-css/
Share this article:
Tweet
View Full Article