html - How do I get the tag of a class and an ID in a single div? -
here html code
<div class="row" id="above-footer-bg">
how going combine both class , id use edit in stylesheet?
the selector prefix id #
, class .
combine them 1 after other without space
#above-footer-bg.row{ background:green; }
<div class="row" id="above-footer-bg">test</div>
Comments
Post a Comment