Complete 5.1.2: Use transform and opacity for animations
This commit is contained in:
parent
8d41a60ac4
commit
ed33a41ba1
2 changed files with 19 additions and 12 deletions
|
|
@ -1314,11 +1314,12 @@
|
|||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
z-index: 1000;
|
||||
transition: top 0.2s ease;
|
||||
transition: transform 0.2s ease;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
top: 6px;
|
||||
transform: translateY(46px);
|
||||
}
|
||||
|
||||
/* Mobile-specific skip link only shown on mobile */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue