One CSS Class Dependent on Another
I know this is a simple question.
If I two css classes:
.cssclass1 { ...some element .... }
.cssclass2 { ...some element .... }
and I want to use them in an input field:
<input type="text" class="cssclass1 cssclass2" />
how can I chain it so cssclass2 only renders if it's in the same element
as cssclass1?
No comments:
Post a Comment