CSS: background:#252 or background-color:#252? will the first cause the browser to assume the same a
Posted
by nick
on Stack Overflow
See other posts from Stack Overflow
or by nick
Published on 2010-03-12T16:51:13Z
Indexed on
2010/03/12
16:57 UTC
Read the original article
Hit count: 118
css
if for a class i include "background:#252", the browser will assume the rest of the background properties that i didn't specify. If instead I used "background-color:#252", would it cause the browser to assume the exact same about the rest of the background properties that i leave unspecified?
background:#252 is shorter, but i wonder if it would be better to use background-color:#252? thanks.
© Stack Overflow or respective owner