Friday, 15 March 2013

html - Using multiple css classes with only one class -



html - Using multiple css classes with only one class -

maybe reply simple can't figure out... sorry noobish question.

i have several html elements using same css classes :

<a class="class1 class2 class3"></a>

how can specify 1 mutual class elements ?

<a href="commonclass"></a>

thanks

apply css elements utilize * universal selector

* { padding: 0; margin: 0; }

apply css a elements in document, utilize tag selector

a { color: red; }

30 css selectors

html css

No comments:

Post a Comment