Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
pseudoElements, universal.css 395 B
body {
	font-family: sans-serif;
	/* notice, using serif */
}

* {
	color: teal;
}

div.xxx.yyy {
	color: blue;
	font-size: 20px;
}

p * {
	/* note that only descendants (not p itself) are affected by this style */
	color: peachpuff;
}

/* Try first-line as well */
p:first-letter {
	font-weight: bold;
	font-size: 4rem;
	/* try with em */
}

p:first-line {
	font-weight: 400;
	font-size: 2em;
}