postcss / postcss-use

Enable PostCSS plugins directly in your stylesheet.
MIT License
153 stars 11 forks source link

Support nested options #3

Closed jonathantneal closed 9 years ago

jonathantneal commented 9 years ago

Does the current syntax make sense? #2

ai commented 9 years ago

We can split nested props by dot: one.two: 1

TrySound commented 9 years ago

@ai +1

jonathantneal commented 9 years ago

@ai, that looks really clever, but splitting properties by a dot . is not very CSS, IMHO. This version uses nesting.

ai commented 9 years ago

@jonathantneal also siggested

one: {
  two: 2
}