add hover effect to <a>
This adds something like a color inversion when hovering <a> tags which gives the user feedback and looks cool
This commit is contained in:
parent
b4f950f7cb
commit
125c859f16
1 changed files with 6 additions and 0 deletions
|
|
@ -48,6 +48,12 @@
|
|||
|
||||
a:link, a:visited {
|
||||
color: var(--accent-color);
|
||||
padding-inline: 0.1ch;
|
||||
&:hover:not(:has(img)) {
|
||||
background-color: var(--accent-color);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
u {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue