News for hackers. Stuff that matters.

Ask HN: Is it safe to drop CSS vendor prefixes?

Should we be dropping CSS vendor prefixes? Or should we keep them a little bit longer in our CSS, to support older devices? I'm thinking of iOS 6, Android devices and browsers that don't update automatically.
( 8 comments | 7 points | on HN )
Re:Ask HN: Is it safe to drop CSS vendor prefixes? by woutervdb on Tuesday November 05, 2013 @04:15PM (#6678372)
This may sound awful, but I'm actually thinking of implementing them in the framework you're running (or the application "firewall"? Think a firewall/proxy that adds vendor prefixes based on your user agent. You write your CSS without them. Are there products that use this? How does it affect performance? I'm on an iPad right now so I don't really feel like Googling.
Re:Ask HN: Is it safe to drop CSS vendor prefixes? by grandpoobah on Wednesday November 06, 2013 @06:28AM (#6682129)
I know connect-assetmanager for node/connect supports this.. not sure if it cares about the user agent though, i think it just automatically includes all known vendor prefixes for your css rules.
Re:Ask HN: Is it safe to drop CSS vendor prefixes? by tommaitland on Tuesday November 05, 2013 @07:19AM (#6674640)
Doesn't seem to be any harm in keeping them for the moment? There's still a lot of people on older browsers (Safari, Firefox, MS) who need those prefixes and seeing as the browsers support the features I think it'd make sense to keep them.
Re:Ask HN: Is it safe to drop CSS vendor prefixes? by huxley on Tuesday November 05, 2013 @10:13AM (#6675459)
You could use Prefixfree.js to provide support for older "modern" browsers:

http://leaverou.github.io/prefixfree/

Re:Ask HN: Is it safe to drop CSS vendor prefixes? by andyshora on Tuesday November 05, 2013 @08:51AM (#6675003)
I just taught a workshop in a big digital agency, and on 2/8 Macs Chrome didn't work without the -webkit prefix.

Just shows how often people update.

Don't drop them.

Re:Ask HN: Is it safe to drop CSS vendor prefixes? by rrrx3 on Tuesday November 05, 2013 @12:08PM (#6676260)
Wow. That means that people aren't even bothering to close their browsers any more. Can't imagine what their memory usage is like.
Re:Ask HN: Is it safe to drop CSS vendor prefixes? by meerita on Tuesday November 05, 2013 @07:19AM (#6674635)
http://caniuse.com is your best answer. Simply search the variant of the prefixed and see their support.
Re:Ask HN: Is it safe to drop CSS vendor prefixes? by michaelbuddy on Tuesday November 05, 2013 @08:28PM (#6679907)
start using preprocessor or what, emmet and you won't at least have to write them right? they aren't causing issues in overhead