Stylesheets
This work is licensed under the
Creative Commons Attribution-ShareAlike
License 4.0.
Introduction
CSS — Cascading Style Sheets
Cascading Style Sheets (CSS) is a style sheet language used for specifying the presentation and styling of a document written in a markup language such as HTML or XML (including XML dialects such as SVG, MathML or XHTML). CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
Media Types
all
— Rules for All
Devices Types
screen
— Rules for
Screens
desktop
— Rules
for Desktop Computers
mobile
— Rules for
Mobiles and Smartphones
tablet
— Rules for
Tablet Computers
print
— Rules for
Printout
Paged Media
Media Features
Themes
Light Theme
Dark Theme
XSLT — Extensible Stylesheet Language Transformations
Extensible Stylesheet Language Transformations (XSLT) is a language originally designed for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text or XSL Formatting Objects, which may subsequently be converted to other formats, such as PDF, PostScript and PNG. Support for JSON and plain-text transformation was added in later updates to the XSLT 1.0 specification.
Style Guides — the Original Kind of Style Sheets
A style guide is a set of standards for the writing, formatting, and design of documents. A book-length style guide is often called a style manual or a manual of style (MoS or MOS). A short style guide, typically ranging from several to several dozen pages, is often called a style sheet. The standards documented in a style guide are applicable either for general use, or prescribed use for an individual publication, particular organization, or specific field.
Since the rise of the digital age, websites have allowed for an expansion of style guide conventions that account for digital behavior such as screen reading (reading from a digitalized screen rather than a physical document). Screen reading requires web style guides to focus more intently on a user experience subjected to multichannel surfing. Though web style guides can also vary widely, they tend to prioritize similar values concerning brevity, terminology, syntax, tone, structure, typography, graphics, and errors.
References and Further Reading
- Wikipedia Contributors: CSS. Wikipedia, the Free Encyclopedia.
- Wikipedia Contributors: XSLT. Wikipedia, the Free Encyclopedia.
- Wikipedia Contributors: Style Guide. Wikipedia, the Free Encyclopedia.
References Squared
- Mozilla Developer Network Contributors: CSS reference. Mozilla Developer Network.
- Mozilla Developer Network Contributors: HTML elements reference. Mozilla Developer Network.
- Mozilla Developer Network Contributors: XSLT elements reference. Mozilla Developer Network.
Specification Documents
- Cascading Style Sheets home page. World Wide Web Consortium (W3C).
- The Extensible Stylesheet Language Family (XSL). World Wide Web Consortium (W3C).
Browser Default Styles
-
Default style sheet for
HTML 4. World Wide
Web Consortium (W3C).
Appendix D of the Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification.
- Firefox Default CSS. Mozilla Foundation.
-
WebKit Default
CSS. Apple
Corporation.
WebKit is the engine used by Apple's Safari web browser.