<div></div>
@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
background-color: #291642;
font-family: "Gochi Hand", sans-serif;
font-size: 130%;
letter-spacing: 0.1rem;
display: flex;
align-items: center;
justify-content: center;
}
div {
width: 30vmin;
min-width: 20vmin;
max-width: 50vmin;
overflow: hidden;
resize: horizontal;
}
div::before {
content: "";
display: block;
width: 100%;
height: 0;
padding-bottom: 100%;
background: #f36;
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.