質問編集履歴

1

linkクラス追加

2020/12/14 22:13

投稿

pecchan
pecchan

スコア587

test CHANGED
File without changes
test CHANGED
@@ -12,11 +12,11 @@
12
12
 
13
13
  最初、リンクのフォント色は白色にしておき、
14
14
 
15
- ヘッダにfocusされたら、リンクのフォント色を青色に変更する、です。
15
+ ヘッダにhoverされたら、ヘッダ内にあるリンクのフォント色を青色に変更する、です。
16
16
 
17
17
 
18
18
 
19
- focus時に、
19
+ focus、hover時に、
20
20
 
21
21
  > .header__inner > .header__inner__link >.link { color: blue;}
22
22
 
@@ -34,7 +34,7 @@
34
34
 
35
35
  ```html
36
36
 
37
- <header class="header top-header-bgcolo">
37
+ <header class="header top-header-bgcolor">
38
38
 
39
39
  <div class="header__inner">
40
40
 
@@ -77,3 +77,33 @@
77
77
  }
78
78
 
79
79
  ```
80
+
81
+
82
+
83
+ --------以下追加--------
84
+
85
+ linkクラス
86
+
87
+ ```sass
88
+
89
+ .link {
90
+
91
+ color: blue;
92
+
93
+ font-weight: bold;
94
+
95
+ &:hover {
96
+
97
+ color: blue;
98
+
99
+ font-weight: bold;
100
+
101
+ text-decoration: underline;
102
+
103
+ }
104
+
105
+ }
106
+
107
+
108
+
109
+ ```