<blockquote>
<p>Big type, even huge type, can be beautiful and useful. But poise is usually far more important than size – and poise consists primarily of emptiness. Typographically, poise is made of white space.</p>
<footer>Robert Bringhurst</footer>
</blockquote>
body {
display: flex;
align-items: center;
justify-content: space-around;
height: 100vh;
font-family: 'EB Garamond', serif;
background-color: #fff;
padding: 0 2em;
box-sizing: border-box;
margin: 0;
}
blockquote {
margin: 0;
padding: 0;
position: relative;
width: 60%;
min-width: 400px;
max-width: 820px;
font-size: 1.25vw;
line-height: 1.4;
text-rendering: optimizeLegibility;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-fon-smoothing: grayscale;
}
blockquote p:first-of-type:before {
content: '\201c';
position: absolute;
left: -.5em;
}
blockquote p:last-of-type:after {
content: '\201d';
position: absolute;
}
blockquote footer {
position: relative;
}
blockquote footer:before {
content: '–';
position: absolute;
left: -.6em;
}
@media screen and (max-width: 1600px) {
blockquote {
font-size: 2vw;
}
}
@media all and (max-width: 1200px) {
blockquote {
font-size: 2.5vw;
}
}
@media all and (max-width: 600px) {
blockquote {
font-size: 18px;
}
blockquote {
width: 100%;
min-width: 100%;
}
}
//For what it's worth, you can replace the quote with one of your own. As long as each paragraph is marked up properly and the author attribution is in the <footer> element, the quotes will still function the same way!
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.