PublishingCSS:TheNewSocial: Difference between revisions

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


section {
section:has( h2 ) {
display: none;
display: none;
}
}

Revision as of 11:48, 5 April 2023

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

section:has( h2 ) {
	display: none;
}

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