Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<style>
.box {
margin: 20px;
width: 400px;
border: 1px solid black;
padding: 20px;
font-size: 40pt;
font-weight: 900;
font-family: sans-serif;
text-align: center;
}
.single-background {
color: cyan;
}
.middle-background {
background-color: cyan;
color: blue;
}
.last-background {
background-color: lime;
color: red;
}
</style>
</head>
<body>
<div class="box single-background">Cyan text on white</div>
<div class="box middle-background">Blue text on cyan</div>
<div class="box last-background">Red text on lime</div>
</body>
</html>