Skip to content

Commit 04c5d31

Browse files
committed
演習問題の完成イメージの画像を動画に差し替え
1 parent 2684e2e commit 04c5d31

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

docs/2-browser-apps/05-css-layout/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: CSSによるレイアウト
44

55
import responsiveCardsVideo from "./responsive-cards.mp4";
66
import responsiveCenterCardsVideo from "./responsive-center-cards.mp4";
7+
import responsiveHeaderVideo from "./responsive-header.mp4";
78

89
この節では、CSSを使用してHTML要素のレイアウトを調整する方法を学びます。
910

@@ -470,8 +471,7 @@ HTML要素は、それらが表示される際のデフォルトの振る舞い
470471

471472
CSSを使って、次のようなウェブサイトのヘッダーを作成しましょう。
472473

473-
![ヘッダーの完成形のデスクトップでのイメージ](./responsive-header-desktop.png)
474-
![ヘッダーの完成形のスマートフォンでのイメージ](./responsive-header-mobile.png)
474+
<video src={responsiveHeaderVideo} controls />
475475

476476
- 画面幅が広い場合は、ナビゲーションメニューが表示されます。
477477
- 画面幅が狭い場合は、ナビゲーションメニューの代わりにハンバーガーアイコンが表示されるようにします。
-22.1 KB
Binary file not shown.
-42.5 KB
Binary file not shown.
139 KB
Binary file not shown.

0 commit comments

Comments
 (0)