<div class="box">
<h2>Like This</h2>
<p>Harum consequuntur accusantium vel recusandae sed rem magnam nemo officia unde ea provident soluta eaque dolore.</p>
</div>
* {
box-sizing: border-box;
}
body {
background-image: url('https://picsum.photos/1600/900/');
background-size: cover;
background-repeat: no-repeat;
min-height: 100vh;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
line-height: 1.6;
color: #333f33;
display: flex;
justify-content: center;
align-items: center;
}
.box {
padding: .5rem 1rem;
background-color: #fff;
max-width: 24rem;
border: .75rem solid rgba(255, 255, 255, .7);
background-clip: padding-box;
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.