My Standard CSS Attributes
Sunday, January 10th, 2010
This is my minimal set of CSS Attributes that I use on nearly every project I work on.
If you have any improvement suggestions, feel free to share.
This is my minimal set of CSS Attributes that I use on nearly every project I work on.
If you have any improvement suggestions, feel free to share.
Additional comments powered by BackType
Well… Isn't it a better practice to choose syle names using what the zone IS than using HOW it should render ?
You often need a clearfix class:
.clearfix {
display:inline-block;
}
Fantastic suggestion! thanks :)
I agree with adding clearfix to this list, but other than that nice work!
Thanks.
I'm sorry, I don't understand what you're trying to say.
He's saying that naming a class “block” and defining it as “display: block” is redundant and confusing. Can you use this in an example to show how it's useful?
learn more!
One again, your articles is very good.thank you!very much.