1
0
Fork 0

add title text inline for (hover:none)

This commit is contained in:
Rhiannon Morris 2020-07-11 06:14:39 +02:00
parent c5966ae120
commit e3c0d1e8fd
1 changed files with 12 additions and 3 deletions

View File

@ -107,9 +107,18 @@ dd {
text-align: left;
}
[title] {
text-decoration: dotted underline;
text-decoration-thickness: 2px;
@media (hover) {
[title] {
text-decoration: dotted underline;
text-decoration-thickness: 2px;
}
}
@media (hover: none) {
[title]::after {
content: attr(title);
font-size: 75%;
display: inline-block;
}
}
a {