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.
10 lines
282 B
CSS
10 lines
282 B
CSS
.class {
|
|
background:linear-gradient(to bottom right,white,hsla(0,0%,100%,.8));
|
|
border: 1px solid rgba(0,0,0,.3);
|
|
font-family: Arial , sans-serif;
|
|
color: rgba(0, 0, 0, 1);
|
|
margin: 0 20px 0 -24px;
|
|
background-position:20% -26px;
|
|
transform-style: preserve-3d;
|
|
}
|