Skip to content

Commit 4b0f703

Browse files
committed
CSS の配置の節を改訂
1 parent cceb0dd commit 4b0f703

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+834
-931
lines changed

docs/2-browser-apps/05-css-arrangement/_samples/absolute/index.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/2-browser-apps/05-css-arrangement/_samples/absolute/style.css

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!doctype html>
2+
<html lang="ja">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>Title</title>
6+
<link rel="stylesheet" href="style.css" />
7+
</head>
8+
<body>
9+
<div id="container">
10+
<div class="card">
11+
<h2>Free</h2>
12+
<div class="price">無料</div>
13+
<button type="button" class="button">今すぐ始める</button>
14+
<ul>
15+
<li>基本的な機能</li>
16+
</ul>
17+
</div>
18+
<div class="card">
19+
<h2>Basic</h2>
20+
<div class="price">$5</div>
21+
<button type="button" class="button">今すぐ始める</button>
22+
<ul>
23+
<li>基本的な機能</li>
24+
<li>AI アシスタントのサポート</li>
25+
<li>5GB のストレージ</li>
26+
</ul>
27+
</div>
28+
<div class="card">
29+
<h2>Premium</h2>
30+
<div class="price">$20</div>
31+
<button type="button" class="button">今すぐ始める</button>
32+
<ul>
33+
<li>全ての機能</li>
34+
<li>AI アシスタントのサポート</li>
35+
<li>20GB のストレージ</li>
36+
</ul>
37+
</div>
38+
</div>
39+
</body>
40+
</html>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
body {
2+
background-color: #f0f0f0;
3+
}
4+
5+
.card {
6+
background-color: #fff;
7+
width: 240px;
8+
border: 1px solid #bbb;
9+
border-radius: 8px;
10+
}
11+
12+
.price {
13+
font-size: 24px;
14+
}
15+
16+
.button {
17+
background-color: #0d6efd;
18+
color: #fff;
19+
font-size: 16px;
20+
width: 100%;
21+
border: none;
22+
border-radius: 8px;
23+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!doctype html>
2+
<html lang="ja">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>Title</title>
6+
<link rel="stylesheet" href="style.css" />
7+
</head>
8+
<body>
9+
<div id="container">
10+
<div class="card">
11+
<h2>Free</h2>
12+
<div class="price">無料</div>
13+
<button type="button" class="button">今すぐ始める</button>
14+
<ul>
15+
<li>基本的な機能</li>
16+
</ul>
17+
</div>
18+
<div class="card">
19+
<h2>Basic</h2>
20+
<div class="price">$5</div>
21+
<button type="button" class="button">今すぐ始める</button>
22+
<ul>
23+
<li>基本的な機能</li>
24+
<li>AI アシスタントのサポート</li>
25+
<li>5GB のストレージ</li>
26+
</ul>
27+
</div>
28+
<div class="card">
29+
<h2>Premium</h2>
30+
<div class="price">$20</div>
31+
<button type="button" class="button">今すぐ始める</button>
32+
<ul>
33+
<li>全ての機能</li>
34+
<li>AI アシスタントのサポート</li>
35+
<li>20GB のストレージ</li>
36+
</ul>
37+
</div>
38+
</div>
39+
</body>
40+
</html>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
body {
2+
background-color: #f0f0f0;
3+
}
4+
5+
.card {
6+
background-color: #fff;
7+
width: 240px;
8+
border: 1px solid #bbb;
9+
}
10+
11+
.price {
12+
font-size: 24px;
13+
}
14+
15+
.button {
16+
background-color: #0d6efd;
17+
color: #fff;
18+
font-size: 16px;
19+
width: 100%;
20+
border: none;
21+
}

docs/2-browser-apps/05-css-arrangement/_samples/box-model/index.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/2-browser-apps/05-css-arrangement/_samples/box-model/style.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/2-browser-apps/05-css-arrangement/_samples/display/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/2-browser-apps/05-css-arrangement/_samples/display/style.css

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)