lundi 21 avril 2014

Does performance time depend on CSS selector?


Vote count:

0




Suppose I have following HTML



<div class="xyz">
......
</div>
<div class="abc">
......
</div>
<p>
.....
</p>
<div class="xyz">
......
</div>
<div class="abc">
......
</div>


And following css:



.xyz{
background:#cccccc;
}


Now IF I CHANGE css to:



div.xyz{
background:#cccccc;
}


Does it effect any in terms of required performance time?



asked 33 secs ago






Aucun commentaire:

Enregistrer un commentaire