As I work on creating a custom WordPress theme, I came across this code snippet in the default 2010 style.css:
#wrapper {
margin: 0 auto;
width: 940px;
}
#wrapper {
background: pink;
margin-top: 20px;
padding: 0 20px;
}
It's interesting to see this default code (except for the pink
color). When attempting to condense it, it has a noticeable impact.
What baffles me is WHY someone would declare the same element twice like that? This is new to me...
WR!