SCSS Mixin: Hide visually

/// Hide visually (still accessible by Screenreaders) /// @link https://a11yproject.com/posts/how-to-hide-content/ @mixin hide-visually() { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; /* added line */ }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.