Samuel, thanks! Yeah, I regularly use shorthands for certain properties.
But in this case, it wouldn't make much of a punch line, now would it? ;)
But beware... I've seen many people fall victim to the defaults set with shorthands. Example: background: #333; removes any background-image you have set on that element.
3 Responses
Have I told you I have an Helvetica Neue / Ultra Light fetish?
about 2 years ago
André, if you'r into reducing some of your css code you want to try this:
font: 200 14px helvetica neue;
...for styling your Helvetica :p
over 1 year ago
Samuel, thanks! Yeah, I regularly use shorthands for certain properties.
But in this case, it wouldn't make much of a punch line, now would it? ;)
But beware... I've seen many people fall victim to the defaults set with shorthands. Example: background: #333; removes any background-image you have set on that element.
over 1 year ago