Template:Alternating rows table/styles.css: Difference between revisions

From The Languages of David J. Peterson
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:
.alternating > thead + tbody > tr:nth-child(even),
.alternating > thead + tbody > tr:nth-child(even),
.alternating > tbody:first-child > tr:nth-child(odd) {
.alternating > tbody:first-child > tr:nth-child(odd) {
background-color: #fff;
background-color: #ddd;
}
}

Latest revision as of 23:59, 18 September 2023

/* {{pp-template}} */
.alternating > thead + tbody > tr:nth-child(even),
.alternating > tbody:first-child > tr:nth-child(odd) {
	background-color: #ddd;
}