| Use Normal | Use Dark | Use "Aargh" |
This page demonstrates most of the many things that CSS can do. All three of the stylesheets you can use here were generated using the Editor.
The important first step is testing that your browser actually supports CSS. That test is here: if this next sentence appears different, your CSS is working:
This paragraph should look different.
Most of the time you will be setting a set of CSS properties on a particular HTML style. This means that the properties will affect all elements of that style. There are a few special cases, for which setting the properties has a wider-reaching effect than just one element:
This paragraph is defined with <p class=ar>, which means it inherits properties not only from the P element but from the .AR class. That means that this paragraph looks different from normal paragraphs, which only inherit properties through the P element. Similarly, this table shows the effect of the TD.EM element/class pairing:
| Region | Revenue | Profit |
|---|---|---|
| Earth | 27.2 | 3.1 |
| Mars | 6.4 | 0.6 |
| Io | 19.1 | 10.4 |
Here is a list of other things that CSS and the Editor will do for you: