diff --git a/offscreen.scss b/offscreen.scss index 8050768..4af3c22 100644 --- a/offscreen.scss +++ b/offscreen.scss @@ -1,20 +1,18 @@ @mixin vui-offscreen() { + + $offset: -10000px; + position: absolute !important; + left: $offset; overflow: hidden; - width: 1px; height: 1px; - - 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 + [dir="rtl"] & { + left: auto; + right: $offset; + } + }