@ -28,7 +28,7 @@ If you prefer to download the whole kit and kaboodle you can grab that as well.
### Based on class
### Based on class
Semantic is based on class names, instead of tags. This means, except for links, tables and forms, you can use semantic with tags like ``<div><article><nav>`` without any difference.
Semantic is based on class names, instead of tags. This means, except for links, tables and form elements, you can use semantic with tags like ``<div><article><nav>`` without any difference.
### Context sensitive
### Context sensitive
@ -36,12 +36,26 @@ In Semantic, variations maintain context based on the element they modify, but k
For example, a form you can have a variation called "inverted". This changes the appearance of form elements to work on dark backgrounds.
For example, a form you can have a variation called "inverted". This changes the appearance of form elements to work on dark backgrounds.
```html
```html
<divclass="ui inverted form"></div>
<divclass="ui inverted form">
<divclass="field">
<label>Name</label>
<inputtype="text">
</div>
</div>
```
```
The same variation can also be useful in the context of a menu.
The same variation can also be useful in the context of a menu.