iDevie
May 2021
M T W T F S S
« Apr    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories


CSS is an awesome tool for styling websites. It’s small, fast, and easy to learn. But like all code, there’s a right way, and a wrong way to write it. Badly written CSS renders slowly, impacting on the perceived speed of your site, and even damaging your SEO.

Writing fast CSS is about knowing your CSS selectors, knowing your shorthand, and understanding how properties are best applied. What better way to spend the final Friday in April, than on a CSS pop-quiz. Have fun!

Source

p img {display:inline-block; margin-right:10px;}
.alignleft {float:left;}
p.showcase {clear:both;}
body#browserfriendly p, body#podcast p, div#emailbody p{margin:0;}

The post Quiz: Which CSS Snippet Is The Fastest? first appeared on Webdesigner Depot.


Comments 0
There are currently no comments.