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’…

Options

What is this?

portrait of Justin

This is the online home of Justin French, a designer & web application developer located in Melbourne, Australia. I like finding ways to make things work better. I like clarifying and simplifying. I like to understand how you understand things.

» read more

Subscribe to my feed

Follow me on Twitter

@justinfrench

More Notebook Articles

Show more notebook articles

Search