Files
test-repo/tests/stylefmt/nested-indention/nested-indention.css
T
Christopher Chedeau 78ba808322 Initial CSS support (#1636)
I wanted to see how hard it would be to add support for CSS inside of prettier. Turns out, it's not that hard. I spent a few hours printing post-css values and getting all the stylefmt unit tests to not throw.
2017-05-24 10:52:12 -07:00

47 lines
700 B
CSS

.y-photo-grid
{
display: flex;
width: 100%;
margin: 0;
padding: 0;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
&__row
{
display: flex;
width: 100%;
margin: 0;
padding: 0;
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
&__item
{
display: block;
margin: 0;
background: #eee;
&:first-child
{
margin-left: 0;
}
}
&__link
{
display: block;
height: 100%;
width: 100%;
}
&__image
{
width: 100%;
height: 100%;
}
}