Skip to content

Commit 5aa13e2

Browse files
committed
works
1 parent c18baef commit 5aa13e2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pages/html/float-label-pattern/floating-label-pattern.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ g(Google Sans font)
100100
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
101101
}
102102

103+
&:focus-visible {
104+
outline: 2px solid var(--gcp-css-primary);
105+
outline-offset: 2px;
106+
}
107+
103108
&:disabled {
104109
opacity: 0.6;
105110
cursor: not-allowed;
@@ -124,6 +129,10 @@ g(Google Sans font)
124129
background-color: rgba(26, 115, 232, 0.12);
125130
box-shadow: none;
126131
}
132+
133+
&:focus-visible {
134+
outline-offset: 0;
135+
}
127136
}
128137
}
129138

0 commit comments

Comments
 (0)