Cascading Style Sheets
This book is a guide to Cascading Style Sheets (CSS), a technique widely used in web pages including Wikipedia to describe their visual style and appearance. CSS can take HTML to new places creatively and functionally. Once you learn how to style mark-up, you can additionally learn JavaScript functions that make dynamic web pages.
This book applies to all supported browsers in this wiki, powered by MediaWiki, see mw:Compatibility/Browser support matrix
This book applies to version 49 and newer of Chrome.
This book applies to version 49 and newer of Firefox.
This book applies to version 79 and newer of Edge.
This book applies to version 10 and newer of Safari.
Contents
edit- Introduction
- Applying CSS to HTML and XHTML — linking, embedding and inlining
- Applying CSS to XML
- CSS Construction
- CSS Presentation
- Color
- Fonts and Text
- Hyperlinks
- Pseudo Elements and Pseudo Classes
- Clipping
- Lists
- Box Model — setting the size and shape of elements
- Borders
- Background
- Shorthand Properties
- Cursor
- Gradients
- Sprites
- Interactivity
- CSS Layout
- CSS URI Schemes
- CSS Applications
- Troubleshooting
- Standards Mode and Quirks Mode
- Browser Compatibility
- CSS Source Order (Troubleshooting the cascade of repeated selectors)
- Appendices