Skip to content

Instantly share code, notes, and snippets.

.grid {
border: solid 2px #EF9A9A; /* Red */
padding: 0.5rem;
}
.grid__row {
display: flex;
flex-direction: row;
border: solid 2px #A5D6A7; /* Green */
padding: 0.5rem;
.grid {
border: solid 2px #EF9A9A; /* Red */
padding: 0.5rem;
}
.grid__column {
display: flex;
flex-direction: column;
border: solid 2px #A5D6A7; /* Green */
padding: 0.5rem;
.grid__responsive {
display: flex;
flex-direction: column;
border: solid 2px #A5D6A7; /* Green */
padding: 0.5rem;
}
@media all and (min-width: 720px) {
.grid__responsive {
flex-direction: row;
.grid__row--end {
justify-content: flex-end;
}
.grid__row--center {
justify-content: center;
}
.grid__row--vertical-center {
justify-content: center;
align-items: center;
}
.holy-grail {
display: flex;
flex-direction: column;
}
.holy-grail__header {
flex: 0 0 100%;
height: 3rem;
padding: 1rem;
background-color: #3F51B5;
.grid {
border: solid 2px #EF9A9A; /* Red */
padding: 0.5rem;
}
.grid__row {
display: flex;
flex-direction: row;
border: solid 2px #A5D6A7; /* Green */
padding: 0.5rem;
.container {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
}
.item {
flex-grow: 1;
.grid__row--space-around {
justify-content: space-around;
}