CSS Styles Support
Currently CSS styling is supported inline in tags
For example:
<p style="color:red; font-size: 30px;text-decoration:underline;">Some fancy text</p>
Some fancy text
This way you can affect the way hyperlinks are decorated: @cocoanetics versus @cocoanetics
Supported Attributes
- color - names (red) or hex (#FF0000) or rbg rgb(255, 0, 0);
- decoration - underline, line-through
- font-size - specified in pixels (12px)
- font-family - to specify the postscript name of a family like Courier
- font-style - normal, inherit, italic, oblique
- font-weight - normal, bold
Font Families
serif
sans-serif
monospace
cursive
fantasy
Text Shadows
The text-shadow property is supported.
Text with Shadow
Embossed
Glowing
Multiple Shadows
Text with Shadow
OUTLINE
To Do
- More robust mapping of font family to available fonts, support for fallback
- text-decoration - blink, overline
- font-variant - to support smallcaps