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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -