h1 {
color: red;
font-size: 2.5em;
}What is CSS? / notebook
What is CSS?
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
h1 {
color: red;
font-size: 2.5em;
}
p {
color: aqua;
padding: 5px;
background: midnightblue;
}<h1>CSS is great</h1>
<p>You can style text.</p>
<p>And create layouts and special effects.</p>h1 {
color: red;
font-size: 2.5em;
}
p {
color: aqua;
padding: 5px;
background: midnightblue;
}