Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What CSS3 features still need vendor prefixes?

The most common features I remember needing prefixes for were features such as flexbox, border-radius, box-shadow, etc... but now they are supported. With more users switching to more powerful browsers like Chrome and Firefox and away from IE, are there still features now that haven't been fully supported and require prefixes?

like image 951
Gabriel West Avatar asked Feb 24 '17 18:02

Gabriel West


People also ask

Do you still need to use vendor prefixes?

Yes, and there will always be, as it's kind of an industry standard that vendors use their prefix on newly drafted properties/methods until those become a standard.

Why do we use vendor prefixes?

Vendor prefixes are one way browsers use to give us CSS developers access to newer features not yet considered stable. Before going on keep in mind this approach is declining in popularity though, in favour of using experimental flags, which must be enabled explicitly in the user's browser.

What are the CSS vendor prefixes?

CSS prefixes -webkit- (Chrome, Safari, newer versions of Opera, almost all iOS browsers including Firefox for iOS; basically, any WebKit based browser) -moz- (Firefox) -o- (old pre-WebKit versions of Opera) -ms- (Internet Explorer and Microsoft Edge)

What CSS prefixes should I use?

For major browsers, the CSS prefixes are: -webkit- : For Chromium browsers like Google Chrome, Safari, Opera, Brave, etc. -moz- : For Mozilla Firefox. -o- : For the Older version of Opera Browser (You can safely ignore this prefix, as the number of users using this browser are very less).


2 Answers

Use the site http://shouldiprefix.com. It has the single purpose to "show what prefixes are needed for a newer CSS property."

Just enter the property you're interested in the search field, and it will return something like the below graphic:

enter image description here

like image 116
Jim Ratliff Avatar answered Sep 28 '22 09:09

Jim Ratliff


There is a great site which allows you to check out support of any css property by most modern browsers. It also shows info about vendor prefixes (if they are needed). This site is named "Can I use" - http://caniuse.com

like image 37
Dan Dev Avatar answered Sep 28 '22 07:09

Dan Dev