RCSS Cascading Style Sheets
This document defines the RCSS Cascading Style Sheets language. RCSS is based on the CSS2 specification, with certain elements removed or altered to suit the needs of RmlUi. In some cases, elements have been taken from the CSS3 working draft. This document provides an overview of RCSS and the differences between RCSS and CSS, and should be read in conjunction with the CSS2 specification.
RCSS interacts with RML in an identical fashion to CSS and HTML. Style properties declared in a RCSS are attached selectively to elements defined in RML to affect layout, positioning and other style attributes (such as font, color, text decoration, etc).
If you are familiar with CSS, a good place to start is the property index, which outlines the properties and values supported in RCSS and the new functionality included. Next, read up on decorators, the new, flexible way to skin elements.
If you are not, read through this documentation while consulting the CSS2 specification for detailed examples and technical details, or skip all this for now and play around with the samples!
- Syntax and basic data types
- Assigning property values, cascading, and inheritance
- Box model
- Visual formatting model
- Visual formatting model details
- Visual effects
- Colours, backgrounds, and rounded corners
- User interface
- Animations, transitions, and transforms
- Media queries
- Sprite sheets
- Font effects