underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
underline-hover on hover
Underline On Hover
HTML
<div class="pa4 lh-copy"> <a class="f4 fw6 db black no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db near-black no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db dark-gray no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db mid-gray no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db gray no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db dark-red no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db red no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db purple no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db light-purple no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db dark-pink no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db light-pink no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db dark-green no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db green no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db navy no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db dark-blue no-underline underline-hover" href="#0">underline-hover on hover </a> <a class="f4 fw6 db blue no-underline underline-hover" href="#0">underline-hover on hover </a> </div>
css
.db {
display: block;
}
.fw6 {
font-weight: 600;
}
.lh-copy {
line-height: 1.5;
}
.black {
color: #000;
}
.near-black {
color: #111;
}
.dark-gray {
color: #333;
}
.mid-gray {
color: #555;
}
.gray {
color: #777;
}
.dark-red {
color: #e7040f;
}
.red {
color: #ff4136;
}
.purple {
color: #5e2ca5;
}
.light-purple {
color: #a463f2;
}
.dark-pink {
color: #d5008f;
}
.light-pink {
color: #ffa3d7;
}
.dark-green {
color: #137752;
}
.green {
color: #19a974;
}
.navy {
color: #001b44;
}
.dark-blue {
color: #00449e;
}
.blue {
color: #357edd;
}
.pa4 {
padding: 2rem;
}
.no-underline {
text-decoration: none;
}
.f4 {
font-size: 1.25rem;
}
.underline-hover:hover, .underline-hover:focus {
text-decoration: underline;
}
Css stats for this component
- Gzipped Size
- 326B
- Selectors
- 24
- Declarations
- 23
Install via npm Only installs the needed tachyons-modules for this component
npm i --save tachyons-display tachyons-font-weight tachyons-line-height tachyons-skins tachyons-spacing tachyons-text-decoration tachyons-type-scale tachyons-hovers