質問編集履歴
1
マークダウン タグ変更 scss追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,10 +9,55 @@
|
|
9
9
|
↓このようになってしまいます。
|
10
10
|

|
11
11
|
|
12
|
+
```scss
|
13
|
+
nav {
|
14
|
+
ul {
|
12
|
-
|
15
|
+
display: flex;
|
16
|
+
justify-content: space-around;
|
13
17
|
|
18
|
+
li {
|
19
|
+
display: inline-block;
|
20
|
+
height: 70px;
|
21
|
+
width: 100%;
|
22
|
+
}
|
23
|
+
a {
|
24
|
+
background-image: linear-gradient(rgb(156, 227, 225) 0%, rgb(108, 198, 196) 100%);
|
25
|
+
:hover {
|
26
|
+
background-image: linear-gradient(rgb(108, 198, 196) 0%, rgb(156, 227, 225) 100%);
|
27
|
+
}
|
28
|
+
display: flex;
|
29
|
+
flex-direction: column;
|
30
|
+
border-right: #71c9c7 solid 1px;
|
31
|
+
border-left: #99e1df solid 1px;
|
32
|
+
border-top-right-radius: 200px 2px;
|
33
|
+
display: block;
|
34
|
+
height: 100%;
|
35
|
+
color: rgb(255, 255, 255);
|
36
|
+
}
|
37
|
+
:hover {
|
38
|
+
color: hsl(178, 100%, 88%);
|
39
|
+
}
|
40
|
+
.navja {
|
41
|
+
display: block;
|
42
|
+
height: 20px;
|
43
|
+
line-height: 20px;
|
44
|
+
text-align: center;
|
45
|
+
font-weight: bold;
|
46
|
+
}
|
47
|
+
.naven {
|
48
|
+
display: block;
|
49
|
+
height: 15px;
|
50
|
+
line-height: 15px;
|
51
|
+
text-align: center;
|
52
|
+
font-size: 77%;
|
53
|
+
font-weight: bold;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
```
|
58
|
+
|
14
59
|
```html
|
15
|
-
<
|
60
|
+
<nav>
|
16
61
|
<!-- ナビゲーション ここから -->
|
17
62
|
<ul>
|
18
63
|
<li>
|
@@ -23,4 +68,5 @@
|
|
23
68
|
<!-- ~ -->
|
24
69
|
</ul>
|
25
70
|
<!-- ナビゲーション ここまで -->
|
26
|
-
</
|
71
|
+
</nav>
|
72
|
+
```
|