add title text inline for (hover:none)
This commit is contained in:
parent
c5966ae120
commit
e3c0d1e8fd
1 changed files with 12 additions and 3 deletions
15
style.css
15
style.css
|
@ -107,9 +107,18 @@ dd {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
[title] {
|
@media (hover) {
|
||||||
text-decoration: dotted underline;
|
[title] {
|
||||||
text-decoration-thickness: 2px;
|
text-decoration: dotted underline;
|
||||||
|
text-decoration-thickness: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (hover: none) {
|
||||||
|
[title]::after {
|
||||||
|
content: attr(title);
|
||||||
|
font-size: 75%;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue