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

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -