回答編集履歴
1
調整
test
CHANGED
@@ -1 +1,13 @@
|
|
1
|
-
そもそも1、2はwrapper-areaという存在しないHTML要素を指定しているのでCSSは効きません
|
1
|
+
そもそも1、2は「wrapper-area」という存在しないHTML要素を指定しているのでCSSは効きません。
|
2
|
+
なお
|
3
|
+
```html
|
4
|
+
<custom-area1>
|
5
|
+
<p>custom-area1</p>
|
6
|
+
<style>
|
7
|
+
custom-area1 {
|
8
|
+
background: aquamarine;
|
9
|
+
}
|
10
|
+
</style>
|
11
|
+
</custom-area1>
|
12
|
+
```
|
13
|
+
としてもcustom-area1はinline要素なので背景色は反映されません
|