回答編集履歴
1
インラインブロックだった…
answer
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
spanはインライン要素なので、幅とか高さとかを指定することができません。
|
2
|
-
ブロック要素に変換しましょう。
|
2
|
+
インラインブロック要素に変換しましょう。
|
3
3
|
|
4
4
|
```
|
5
5
|
<style>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
border-radius: 50%;
|
11
11
|
margin: 0 5px;
|
12
12
|
cursor: pointer;
|
13
|
-
display: block;
|
13
|
+
display: inline-block;
|
14
14
|
}
|
15
15
|
</style>
|
16
16
|
```
|