Title: CSS Expressive Generalizations and Gadgetry Level 1
Shortname: css-egg
Level: 1
Status: ED
Work Status: Exploring
Group: csswg
Date: 2015-04-01
TR: https://www.w3.org/TR/css-egg/
ED: https://drafts.csswg.org/css-egg/
Editor: Florian Rivoal, Invited Expert, https://florian.rivoal.net, w3cid 43241
Abstract: This module extends the vocabulary of CSS with terms frequently used in certain domains, making it easier for authors to write understandable and maintainable style sheets.

Introduction

This section is not normative. As evidenced by the extraordinary variety of designs found on the web, CSS is a very expressive language, capable of describing unlimited styles and layouts. However, one of the design goal of CSS was also to make it easy to learn and to read by people. Making it simple for untrained authors to read and guess the meaning of a style sheet after only a basic introduction to CSS has contributed greatly to the success of the language. In addition, easy-to-read style sheets are also easier to maintain. In this spirit, this specification introduces a few new values and units, which, while not bringing significant new capabilities to the web platform, makes it possible to write style sheets that are easier to read than ever before, by enabling authors to use values and units that are familiar and appropriate for the domain they are working on.

Module Interactions

This module extends:

Value Definitions

This specification follows the CSS property definition conventions from [[!CSS2]] using the value definition syntax from [[!CSS3-VALUES]]. Value types not defined in this specification are defined in CSS Values & Units [[!CSS3-VALUES]]. Combination with other CSS modules may expand the definitions of these value types. In addition to the property-specific values listed in their definitions, all properties defined in this specification also accept the CSS-wide keywords as their property value. For readability they have not been repeated explicitly.

Extended Units

CSS provides several absolute length units such as ''cm'' or ''in'', as well as several <