Skip to content

Commit 48c72d7

Browse files
Merge pull request #46 from WebDevSimplified/fix-typo
Fix Typo
2 parents 7008c0a + 6f54186 commit 48c72d7

File tree

1 file changed

+1
-1
lines changed
  • src/pages/2024-07/css-focus-crash-course

1 file changed

+1
-1
lines changed

src/pages/2024-07/css-focus-crash-course/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ It is important to know that the child elements do not need to have a focus styl
116116

117117
## The Secret Fourth Focus Method
118118

119-
The final focus method is a bit different since there is no built in CSS pseudo class for `:focus-visible-within`. Instead we have to write our own custom CSS selector that does the same thing. This custom selector combines hwo `:focus-within` and `:focus-visible` work to create a focus method that only shows focus styles when a child of the element would have its `:focus-visible` styles shown.
119+
The final focus method is a bit different since there is no built in CSS pseudo class for `:focus-visible-within`. Instead we have to write our own custom CSS selector that does the same thing. This custom selector combines how `:focus-within` and `:focus-visible` work to create a focus method that only shows focus styles when a child of the element would have its `:focus-visible` styles shown.
120120

121121
```css {5}
122122
.container {

0 commit comments

Comments
 (0)