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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -