回答編集履歴
1
ちょうせい
test
CHANGED
@@ -1 +1,45 @@
|
|
1
1
|
じつは「<!DOCTYPE html>」を外せばいけるんですけど・・・
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
# sample
|
6
|
+
|
7
|
+
```CSS
|
8
|
+
|
9
|
+
<!DOCTYPE HTML>
|
10
|
+
|
11
|
+
<style>
|
12
|
+
|
13
|
+
.line {
|
14
|
+
|
15
|
+
width: 500px;
|
16
|
+
|
17
|
+
height: 12px;
|
18
|
+
|
19
|
+
background-color: yellow;
|
20
|
+
|
21
|
+
}
|
22
|
+
|
23
|
+
.line:after {
|
24
|
+
|
25
|
+
content: "";
|
26
|
+
|
27
|
+
display: block;
|
28
|
+
|
29
|
+
background-color: blue;
|
30
|
+
|
31
|
+
width: 50%;
|
32
|
+
|
33
|
+
height: 12px;
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
</style>
|
38
|
+
|
39
|
+
test
|
40
|
+
|
41
|
+
<div class="line"></div>
|
42
|
+
|
43
|
+
test
|
44
|
+
|
45
|
+
```
|