diff --git a/offscreen.scss b/offscreen.scss index 597a15b..8050768 100644 --- a/offscreen.scss +++ b/offscreen.scss @@ -1,17 +1,20 @@ @mixin vui-offscreen() { - - $offset: -10000px; - position: absolute !important; - left: $offset; overflow: hidden; + width: 1px; height: 1px; - [dir="rtl"] & { - left: auto; - right: $offset; - } + font-size: 1px; + line-height: 1px; + text-indent: 2px; + white-space: nowrap; + padding: 0; + margin: 0; + background: none; + border: none; + box-shadow: none; + outline: none !important; // important to override :focus }