CSS example

From Organic Design wiki
Revision as of 08:21, 10 April 2016 by Nad (talk | contribs) (new way)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)





This is an example of adding a CSS article to a page using HTML syntax. The CSS article in this example is the spots.css article which is attached to this page using {{#tag:html|<style>{{:spots.css}}</style>}}.

You can also do inline CSS styles like this

{{#tag:html|<style>
    body p { line-height: 150% }
    pre { font-size: 200%; color: green; }
</style>}}