Skip to content

Commit

Permalink
fix: executed format
Browse files Browse the repository at this point in the history
  • Loading branch information
koralle committed Oct 9, 2024
1 parent 09d795c commit 268f9fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/docs/css/modern-button-hover-style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: button要素のモダンなホバースタイルの書き方の結論を
description: button要素のモダンなホバースタイルの書き方の結論を自分の中で出してみた
---

import { LinkPreview } from "astro-embed"
import { LinkPreview } from 'astro-embed'

## TL;DR

Expand All @@ -27,9 +27,9 @@ button:focus-visible {

## ポイント

* `@media (any-hover: hover) { ... }` でホバーを有効にする
* `button:enabled:hover` でホバー時のスタイルを指定する
* `button:focus-visible` でフォーカス時のスタイルを指定する
- `@media (any-hover: hover) { ... }` でホバーを有効にする
- `button:enabled:hover` でホバー時のスタイルを指定する
- `button:focus-visible` でフォーカス時のスタイルを指定する

### `@media (any-hover: hover) { ... }` でホバーを有効にする

Expand Down

0 comments on commit 268f9fa

Please sign in to comment.