Attributes ====== This page lists the available Human CSS attributes and the meaning and values of each. Text ---- The text micro-attribute provides control over text color, fonts, alignment, and so on. It is introduced by the micro-attribute `text`. `text` takes values for color, font size using standard synonyms such as `large` (or any length), font weight using standard synonyms such as `bold`, and others. Other text attribute values include `italic`, `underline`, `upper`, `lower`, `capitalize`, `small-caps`, and so on. Borders, margins, outlines, and padding --------------------------------------- Borders, margins, outlines, and padding are specified by the `border`, `margin`, `outline`, and `padding` micro-attributes. The attribute values `top`, `left`, `bottom`, and `right` may be given to indicate which side or sides are to be affected. A number or length, or keyword such as `thick` or `thin`, specifies the size of the border, margin, outline, or padding. For borders and outlines, the standard types such as `solid` and `dotted` are available as micro-attributes. Colors may also be specified for borders and padding. Background ---------- The `background` micro-atteribute provides a background of the specified color. ```html
``` Box --- The `box` micro-attribute specifies styling related to boxes, including position (`absolute` etc.), display (`hidden`), vertical alignment, `visible` and `invisible`, box sizing ('border` or `content`), and so on. Spacing ------- People commonly use top margins and bottom margins and top padding and bottom padding and special spacing elements to space out their elements. Human CSS classes provide a simple mechanisms for controlling spacing. The `spaced` micro-attribute adds space between child elements. Variants of these (indicated by modifier micro-attributes) provide more or less spacing. Example of spaced children: ```html