Blog

Cross Browser text-decoration Styling

shutterstock_234378844
BLOG / Web Development

Cross Browser text-decoration Styling

Text-decoration styling is the method of defining the type, style and color of lines in the text-decoration property. These can be defined as shorthand or as single properties.

Browser Support

This feature is currently only supported by Firefox.

Code Example

You can use text-decoration styling like this:

text-decoration: line-through dashed green;

More Information

More information can be found here.