CSS Text Decoration (Line Through Text) Flashcards
1
Q
Use a CSS property that allows you to add a line to text. This can be an underline, overlain ext.
A
p{
text-decoration: underline;
}
2
Q
Use a CSS property that allows you to specify/define the color of the line going through, under, over ext text
A
p{
text-decoration-color: red
}
3
Q
Use a CSS property that allows you to decorate/style the decoration line to your liking.
A
p{
text-decoration-style: double;
}
4
Q
Use a CSS property that allows you to specify the thickness of the decoration line.
A
p{
text-decoration-thickness: 5px;
}