<div class="container">
<div class="card">
<p>
First forget inspiration. Habit is more dependable. Habit will sustain you whether you’re inspired or not. Habit will help you finish and polish your stories. Inspiration won’t. Habit is persistence in practice.
</p>
</div>
<div class="card">
<p>
First forget inspiration. Habit is more dependable. Habit will sustain you whether you’re inspired or not. Habit will help you finish and polish your stories. Inspiration won’t. Habit is persistence in practice.
</p>
</div>
<div class="card">
<p>
First forget inspiration. Habit is more dependable. Habit will sustain you whether you’re inspired or not. Habit will help you finish and polish your stories. Inspiration won’t. Habit is persistence in practice.
</p>
</div>
<div class="card">
<p>
First forget inspiration. Habit is more dependable. Habit will sustain you whether you’re inspired or not. Habit will help you finish and polish your stories. Inspiration won’t. Habit is persistence in practice.
</p>
</div>
<div class="card">
<p>
First forget inspiration. Habit is more dependable. Habit will sustain you whether you’re inspired or not. Habit will help you finish and polish your stories. Inspiration won’t. Habit is persistence in practice.
</p>
</div>
<div class="card">
<p>
First forget inspiration. Habit is more dependable. Habit will sustain you whether you’re inspired or not. Habit will help you finish and polish your stories. Inspiration won’t. Habit is persistence in practice.
</p>
</div>
</div>
:root {
--spacer: 0.5em;
--columns: 1;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background-color: #eff1fa;
color: #555;
font-size: 1.1em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.container {
margin: 40px auto;
max-width: 900px;
display: flex;
flex-wrap: wrap;
}
.card {
background-color: #fff;
max-width: calc((100% / var(--columns, 1)) - var(--spacer, 0.5em) * 2);
border: 1px solid #6f777e;
margin: var(--spacer, 0.5em);
padding: var(--spacer, 0.5em);
}
p {
margin: 0;
}
@media screen and (min-width: 480px) {
:root {
--spacer: 0.75em;
--columns: 2;
}
}
@media screen and (min-width: 720px) {
:root {
--spacer: 1em;
--columns: 3;
}
}