html - Highlight selected row using css -


how can highlight selected row in table using css. there way that?

tr { background: sky-blue-pink } /* use real colour */ tr * { background: transparent; } 

where tr more specific selector indicate whatever condition have in dom represent 'selected'. class selector: tr.selected


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -