Template:Styles/mystyles2.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "boo") |
(Yambowikiadmin changed the content model of the page Template:Styles/mystyles2.css from "wikitext" to "CSS") Tag: content model change |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
.column-demo{ | |||
float:left; | |||
} | |||
.column-demo td:nth-child(2n) { | |||
background-color: red; | |||
} | |||
.mw-redirect { | |||
color: gray; | |||
} | |||
.zebra { | |||
float:right; | |||
} | |||
.zebra tr:nth-child(odd) { | |||
background-color: #eee; | |||
} | |||
.zebra tr:nth-child(even) { | |||
background-color: #abc; | |||
} | |||
/*Fixed table header demo*/ | |||
#scrolltable { margin-top: 20px; height: 200px; overflow: auto; } | |||
#scrolltable th div { position: absolute; margin-top: -20px; } |
Latest revision as of 16:14, 16 April 2018
.column-demo{ float:left; } .column-demo td:nth-child(2n) { background-color: red; } .mw-redirect { color: gray; } .zebra { float:right; } .zebra tr:nth-child(odd) { background-color: #eee; } .zebra tr:nth-child(even) { background-color: #abc; } /*Fixed table header demo*/ #scrolltable { margin-top: 20px; height: 200px; overflow: auto; } #scrolltable th div { position: absolute; margin-top: -20px; }