2013-07-25, 10:31 PM
Hi everybody; I want to know which coding is better and faster, Num#1 or Num#2:
[Number#1]
[Number#2]
[Number#1]
<div class="e1 e2 e3"></div>
<style>
.e1{
width:10px;
height: 24px;}
.e2{
width:11px;
height: 25px;}
.e3{
width:12px;
height: 26px;}
.e1, .e2, .e3{
border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;}
</style>
[Number#2]
<div class="e1 e2 e3 e4"></div>
<style>
.e1{
width:10px;
height: 24px;}
.e2{
width:11px;
height: 25px;}
.e3{
width:12px;
height: 26px;}
.e4{
border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;}
</style>
Thanks.