CSS File Documentation
Overview
Feature | Value |
---|---|
File Extension | .css |
MIME Type | text/css |
Developed by | World Wide Web Consortium (W3C) |
Primary purpose | Styling web documents |
Standard specification | CSS Level 2.1, CSS Level 3, and ongoing updates |
Character set | UTF-8 (recommended) |
Compression | Not natively, but can be minified and gzipped |
Media type | Stylesheet |
Max selectors in a single stylesheet | 4095 (for IE 6-9) |
Embeddable in HTML | Yes, using the <style> element |
External linking in HTML | Yes, using the <link> element |
Property-value pair format | property: value; |
Importance of cascade | Central, determines final applied styles |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.