stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

vendor prefixes! #305

Closed gollodev closed 9 years ago

gollodev commented 9 years ago

add this line vendor-prefixes ?= webkit moz o ms official, only shows webkit...

notslang commented 9 years ago

I'm going to need a bit more info to reproduce that... maybe a code sample?

gollodev commented 9 years ago
button
    border-radius 2px

compiled...

button {
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

should be add -moz- -o- prefixes no?

notslang commented 9 years ago

As far as I can tell, opera never had a prefix for border-radius, and FF hasn't needed one since 3.6. Actually, Chrome hasn't needed one since v4, so we probably shouldn’t even be adding the webkit prefix.

netlemur commented 9 years ago

Yes, the webkit prefix should be removed for border-radius.

netlemur commented 9 years ago

@slang800 in case that's something you guys wanna do, there's a PR for it now: #306