Came across this link earlier today, and it was extremely clever.
Here is the SASS version of the CSS displayed there.
.wrapper {
&:before{
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.row {
display: inline-block;
vertical-align: middle;
}
}
Here is the SASS version of the CSS displayed there.
.wrapper {
&:before{
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
.row {
display: inline-block;
vertical-align: middle;
}
}