Web Services

Stylesheets

CC-BY-SA
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

References Squared

Specification Documents

Browser Default Styles