2016年10月17日月曜日

CSS Reference

Reminder: CSS3 is an evolving specification, and browsers continue to update with additional support for various modules within the specification. Browser makers also introduce new features of their own or implement CSS3 features that are only proposed standards. Fortunately, CSS provides for a safe way to do this: vendor prefixes. This allows different browsers to support experimental implementations in a way that does not interfere with other browsers' implementations and does not override whatever becomes the standardized version of the property (for example, using -webkit-box-shadow instead of box-shadow).

The vendor prefixes you are most likely to come across are:

-moz- (Firefox and other browsers that use Mozilla's rendering engine)
-webkit- (Chrome, Safari, and other browsers that use the WebKit rendering engine)
-o- (Opera)
-ms- (Internet Explorer 8 and later)
For more information about what browsers support which CSS3 properties and values, please consult www.quirksmode.org/css/contents.html, http://caniuse.com, and http://findmebyip.com/litmus. In addition, you can test the browser support of many of these features from your own pages by using such JavaScript libraries such as Modernizr (www.modernizr.com).

0 件のコメント:

コメントを投稿