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;
|
||||
}
|
||||
|
||||
[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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue