Prev Demo
CSS3
>
Text-Decoration-Color Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> .class1 { text-decoration: overline; -moz-text-decoration-color: green; /*For Firefox/ text-decoration-color: green; } .class2 { text-decoration: line-through; -moz-text-decoration-color: red; /For Firefox*/ text-decoration-color: red; } .class3 { text-decoration: underline; -moz-text-decoration-color: blue; /For Firefox*/ text-decoration-color: blue; } </style> <h3 class="class1">www.techfunda.com</h3> <h3 class="class2">www.techfunda.com</h3> <h3 class="class3">www.techfunda.com</h3> <strong>Note: It works finely in Firefox.</strong> </body> </html>
Note: We DO NOT save your trial code in our database.
Output