PublishingCSS:TheNewSocial: Difference between revisions

From H&D Publishing Wiki
No edit summary
No edit summary
Line 1: Line 1:
body {
background: linear-gradient( from yellow to greenyellow );
}
h1, h2, h3, h4, h5 {
h1, h2, h3, h4, h5 {
color: red;
color: red;

Revision as of 11:53, 5 April 2023

body {
	background: linear-gradient( from yellow to greenyellow );
}

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

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

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