Wouldn't it be great
Published 26 October 06 by Justin French, 20 comments
Now, I’m just thinking out loud here, but maybe this (imaginary CSS):
#people {
border:1px solid #000;
padding:10px;
.person {
margin-bottom:10px;
padding:10px;
border:1px solid red;
h3 {
font-weight:bold;
margin-bottom:.5em;
}
p {
color:white;
font-size:.9em;
}
}
}
Would make more sense than this (legit CSS):
#people {
border:1px solid #000;
padding:10px;
}
#people .person {
margin-bottom:10px;
padding:10px;
border:1px solid red;
}
#people .person h3 {
font-weight:bold;
margin-bottom:.5em;
}
#people .person p {
color:white;
font-size:.9em;
}
Just askin’…
Before you go…
Here’s some links to my most popular posts: