PublishingCSS:TheNewSocial: Difference between revisions

From H&D Publishing Wiki
No edit summary
No edit summary
Line 7: Line 7:
}
}


section h2:target {
section:has( h2:target ) {
display: block;
display: block;
}
}

Revision as of 11:46, 5 April 2023

h1, h2, h3, h4, h5 {
	color: red;
}

section {
	display: none;
}

section:has( h2:target ) {
	display: block;
}