質問編集履歴

2

2017/02/27 03:22

投稿

o-ban
o-ban

スコア14

test CHANGED
File without changes
test CHANGED
@@ -10,15 +10,15 @@
10
10
 
11
11
  <ul>
12
12
 
13
- <li><a href="event.html">home<br>
13
+ <li><a href="#">home<br>
14
14
 
15
15
  <span>家</span></a></li>
16
16
 
17
- <li><a href="yoga.html">home<br>
17
+ <li><a href="#">home<br>
18
18
 
19
19
  <span>家</span></a></li>
20
20
 
21
- <li><a href="blog.html">home<br>
21
+ <li><a href="#">home<br>
22
22
 
23
23
  <span>家</span></a></li>
24
24
 

1

よろしくお願いします。

2017/02/27 03:22

投稿

o-ban
o-ban

スコア14

test CHANGED
File without changes
test CHANGED
@@ -1,8 +1,10 @@
1
- サイドバーに縦並びのliを入れたいのですがうまくいきません。``` <aside>
1
+ サイドバーに縦並びのliを入れたいのですがうまくいきません。
2
2
 
3
-
3
+ ```ここに言語を入力
4
4
 
5
+ <aside>
6
+
5
- <h3>about us</h3>
7
+ <h3>about us</h3>
6
8
 
7
9
  <div class="about">
8
10
 
@@ -24,7 +26,7 @@
24
26
 
25
27
  </div>
26
28
 
27
- </aside>
29
+ </aside>
28
30
 
29
31
  ```
30
32
 
@@ -36,23 +38,27 @@
36
38
 
37
39
  liの部分が真ん中に来てくれません。
38
40
 
41
+ ```ここに言語を入力
42
+
39
- ```.about a {
43
+ .about a {
40
44
 
41
45
  display: block;
42
46
 
43
47
  width: 100%;
44
48
 
45
- text-decoration: none;
49
+ text-decoration: none;
46
50
 
47
51
  color: #000;
48
52
 
49
53
  }
50
54
 
55
+
56
+
51
57
  span {
52
58
 
53
59
  font-size: 10px;
54
60
 
55
- padding-bottom: 10px;
61
+ padding-bottom: 10px;
56
62
 
57
63
  }
58
64
 
@@ -60,18 +66,12 @@
60
66
 
61
67
  .about a :hover {
62
68
 
63
- background-color: rgba(245,172,24,0.)
69
+ background-color: rgba(245,172,24,0.3)
64
70
 
65
71
  }
66
72
 
67
-
68
-
69
-
70
-
71
73
  ```
72
74
 
73
- あとhoverしたときに色を付けたいのですが、spanタグの中にしか色がついてくれません。li全体に色を付ける場合はどんな感じでコードを書けば
75
+ あとhoverしたときに色を付けたいのですが、spanタグの中にしか色がついてくれません。
74
76
 
75
- いいのでしょうか。
77
+ li全体に色を付ける場合はどんな感じでコードを書けばいいのでしょうか。
76
-
77
- よろしくお願い致します。