Require compatible vendor prefixes
Pages 49
-
LoadingHome
-
LoadingAbout
-
LoadingAvoid un anchored hovers
-
LoadingBeware of box model size
-
LoadingBuild System
-
LoadingBuild System Integration
-
LoadingBulletproof font face
-
LoadingCommand line interface
-
LoadingContributing
-
LoadingDeveloper Guide
-
LoadingDisallow !important
-
LoadingDisallow @import
-
LoadingDisallow adjoining classes
-
LoadingDisallow box sizing
-
LoadingDisallow duplicate properties
-
LoadingDisallow empty rules
-
LoadingDisallow IDs in selectors
-
LoadingDisallow negative text indent
-
LoadingDisallow non alphabetical
-
LoadingDisallow outline:none
-
LoadingDisallow overqualified elements
-
LoadingDisallow qualified headings
-
LoadingDisallow star hack
-
LoadingDisallow too many floats
-
LoadingDisallow underscore hack
-
LoadingDisallow units for zero values
-
LoadingDisallow universal selector
-
LoadingDon't use too many web fonts
-
LoadingIDE integration
-
LoadingNew Release
-
LoadingRequire all gradient definitions
-
LoadingRequire fallback colors
-
LoadingRequire shorthand properties
-
LoadingRequire use of known properties
-
LoadingRules
-
LoadingRules by ID
-
LoadingSource Code
-
LoadingUnit Tests
-
LoadingUsing in a Node.js Application
-
LoadingWorking with Rules
Clone this wiki locally
Experimental CSS properties are typically implemented using vendor prefixes until the final behavior has been established and agreed upon. Most CSS3 properties have vendor-prefixed equivalents for multiple vendors, including Firefox (-moz), Safari/Chrome (-webkit), Opera (-o), and Internet Explorer (-ms). It's easy to forget to include the vendor prefixed version of a property when there are so many to keep track of.
The following properties have multiple vendor-prefixed versions:
animationanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-timing-functionappearanceborder-endborder-end-colorborder-end-styleborder-end-widthborder-imageborder-radiusborder-startborder-start-colorborder-start-styleborder-start-widthbox-alignbox-directionbox-flexbox-linesbox-ordinal-groupbox-orientbox-packbox-sizingbox-shadowcolumn-countcolumn-gapcolumn-rulecolumn-rule-colorcolumn-rule-stylecolumn-rule-widthcolumn-widthhyphensline-breakmargin-endmargin-startmarquee-speedmarquee-stylepadding-endpadding-starttab-sizetext-size-adjusttransformtransform-origintransitiontransition-delaytransition-durationtransition-propertytransition-timing-functionuser-modifyuser-selectword-breakwriting-mode
If you want the same CSS effects across all browsers, then it's important to remember the vendor-prefixed properties for all supporting browsers.
Rule Details
Rule ID: compatible-vendor-prefixes
This rule is intended to warn when a vendor-prefixed property is missing. The supported properties are listed in the previous section.
The following patterns are considered warnings:
/* Missing -moz, -ms, and -o */
.mybox {
-webkit-transform: translate(50px, 100px);
}
/* Missing -webkit */
.mybox {
-moz-border-radius: 5px;
}``$ {webkit-tap-highlight-color: rgba(255,255,0,0);}