/* Set font size on all <p> elements */
p {
font-size: 12px;
color: rebeccapurple;
}CSS selectors / notebook
CSS selectors
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
/* Select elements and apply styles */
selector {
property: value;
}