csstools / postcss-short

Use advanced shorthand properties in CSS
https://jonathantneal.github.io/postcss-short
Creative Commons Zero v1.0 Universal
189 stars 7 forks source link

Allow optional prefix #1

Closed jayphelps closed 9 years ago

jayphelps commented 9 years ago

To prevent clashes with future syntax it would be rad if we could define (with a default) a prefix.

foo {
  -postcss-size: 10px;
}
jonathantneal commented 9 years ago

Great idea and will do. Since vendor prefixes are on their way out, I feel confident electing for a shorter prefix, like -p- or -s-. And, as you’ve pointed out, it should also be configurable and disableable.

jonathantneal commented 9 years ago

Hey Jay, I’ve added support and documentation for this feature.