We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a6611 commit 9987ab7Copy full SHA for 9987ab7
src/VueSkipTo.vue
@@ -52,19 +52,23 @@ export default {
52
53
<style>
54
.vue-skip-to {
55
- position: absolute;
56
- left: -10000px;
57
- top: 0;
58
- z-index: 1000;
59
- min-width: 1px;
60
- min-height: 1px;
+ position: fixed;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
61
overflow: hidden;
62
- padding: 8px 10px;
63
- color: #fff
+ clip: rect(0, 0, 0, 0);
+ white-space: nowrap;
+ border-width: 0;
64
}
65
66
.vue-skip-to:focus {
67
- background-color: #800000;
68
left: 0;
+ top: 0;
69
+ clip: auto;
70
+ height: auto;
71
+ width: auto;
72
+ padding: 8px 10px;
73
74
</style>
0 commit comments