Skip to content
Snippets Groups Projects
Commit 796316a5 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

make sure skiplinks are outside of viewport when hidden

parent a0e9605d
No related branches found
No related tags found
No related merge requests found
...@@ -10,13 +10,14 @@ ...@@ -10,13 +10,14 @@
text-align: center; text-align: center;
box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.1); box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.1);
border: 1px solid #efefef; border: 1px solid #efefef;
top: -200%; top: -1000px;
transition: top 0.25s ease-in-out; transition: top 0.25s ease-in-out;
&:focus-within { &:focus-within {
top: 0; top: 0;
} }
> .hidden {
>.hidden {
display: none; display: none;
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment