Skip to content

Commit d6191e3

Browse files
Schalk NeethlingSchalk Neethling
authored andcommitted
step006 - duplicate visually hidden class in user-card.css so it is available in the ShadowDOM
1 parent 3e737b0 commit d6191e3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css/user-card.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,14 @@
8989
mask-image: url("/assets/social/mastodon.svg");
9090
mask-size: cover;
9191
}
92+
93+
.visually-hidden {
94+
border: 0;
95+
clip: rect(0 0 0 0);
96+
height: 1px;
97+
margin: -1px;
98+
overflow: hidden;
99+
padding: 0;
100+
position: absolute;
101+
width: 1px;
102+
}

0 commit comments

Comments
 (0)