<header>
<h1>Cheese Curds</h1>
<p>Yes, please.</p>
</header>
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900);
body {
background:
linear-gradient(
rgba(0, 0, 0, 0.5),
rgba(0, 0, 0, 0.5)
),
url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/cheese-curds.jpg);
background-size: cover;
font-family: 'Source Sans Pro', sans-serif;
}
header {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
}
h1 {
text-transform: uppercase;
margin: 0;
font-size: 3rem;
white-space: nowrap;
}
p {
margin: 0;
font-size: 1.5rem;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.