/* Using 'text-decoration' property with 'underline' value. we can draw underline below the text using css */
<style>
p {
text-decoration: underline;
}
</style>
<p>Hello all Welcome here !!!</p>
a{
text-decoration:underline; // default in A tag
text-decoration:none;
text-decoration: overline;
text-decoration: line-through;
text-decoration: underline overline;
}
//My youtube:'https://www.youtube.com/HasibulIslambd'
/* Keyword values */
text-decoration: underline;
text-decoration: underline dotted;
text-decoration: underline dotted blue;
text-decoration: underline overline;
text-decoration: blue wavy underline;
text-decoration: line-through;
text-decoration: underline;
text-decoration: overline red;
text-decoration: none;
/* Global values */
text-decoration: inherit;
text-decoration: initial;
text-decoration: revert;
text-decoration: unset;
p{
text-decoration: underline;
}
h1 {
text-decoration-line: overline;
}
h2 {
text-decoration-line: line-through;
}
h3 {
text-decoration-line: underline;
}
p {
text-decoration-line: overline underline;
}
Code Example |
---|
Css :: flex box writing sideways text top to bottom |
Css :: create circle in css |
Css :: css clear |
Css :: css row column grid |
Css :: what css vmin |
Css :: css padding syntax |
Css :: animate zoom in and zoom out in css |
Css :: place two div elements next to each other |
Css :: css clip |
Css :: how to add pictures in circle html |
Css :: CSS logo left and navigation right |
Css :: css focus-within |
Css :: input background color |
Css :: declare variables for color in css |
Css :: flexbox |
Css :: uigradients |
Css :: css class and id selector |
Css :: animation css |
Css :: gap between two flex items |
Css :: css change the accordion arrow color |
Css :: vertical center before css |
Css :: scss global class |
Css :: how to hover div in css |
Css :: how to set media path and media root |
Css :: details transition css |
Css :: html css templates for practice |
Css :: css rotate |
Css :: rem in css |
Css :: aclocal: not found |
Css :: wpforms button style |