skip-link.pcss.css
Same filename in other branches
- 9 core/themes/olivero/css/components/skip-link.pcss.css
- 9 core/themes/claro/css/components/skip-link.pcss.css
- 10 core/themes/olivero/css/components/skip-link.pcss.css
- 10 core/themes/claro/css/components/skip-link.pcss.css
- 11.x core/themes/olivero/css/components/skip-link.pcss.css
- 11.x core/themes/claro/css/components/skip-link.pcss.css
Skip link
Allows keyboard users to quickly skip to the main content of the page.
File
-
core/
themes/ claro/ css/ components/ skip-link.pcss.css
View source
- /**
- * @file
- * Skip link
- *
- * Allows keyboard users to quickly skip to the main content of the page.
- */
-
- .skip-link {
- z-index: 50;
- left: 50%;
- padding: 1px 10px 2px;
- transform: translateX(-50%);
- color: #fff;
- border-radius: 0 0 10px 10px;
- background: #444;
- font-size: 0.94em;
- }
- .skip-link:focus {
- text-decoration: none;
- }
- .skip-link.visually-hidden.focusable:focus {
- position: absolute !important;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.