tips for saving time by using shorthand.
shorthand way of doing padding egs
padding: 100px 110px; 120px 140px;
this way - if you think like a clock, it will go around.
or top right, bottom left.
another method:
100px 140px;
this one will apply 100px for top and bottom140 will apply to the left and right.
borders
1px 2px 3px 4px
top right bottom left
1px 4px
top bottom, right left.
doesnt just apply to integers. can do with borders styles etc
border color
border-color: green black
top bottom, right left.
Tuesday, August 25, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment