KNACSS/sass/components/_skip-links.scss

26 lines
527 B
SCSS
Raw Permalink Normal View History

2017-07-31 10:52:40 +02:00
/* ----------------------------- */
/* ==skip links */
/* ----------------------------- */
/* see https://www.alsacreations.com/article/lire/572-Les-liens-d-evitement.html */
/* styling skip links */
2017-07-31 11:45:22 +02:00
.skip-links {
2017-07-31 10:52:40 +02:00
position: absolute;
& a {
position: absolute;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
padding: 0.5em;
background: black;
color: white;
text-decoration: none;
&:focus {
position: static;
overflow: visible;
clip: auto;
}
}
}