質問編集履歴

1

html,cssのコードを追加いたしました。

2020/11/04 22:47

投稿

ojigi
ojigi

スコア2

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- ### 前提・実現したいこと
1
+ ```### 前提・実現したいこと
2
2
 
3
3
 
4
4
 
@@ -8,7 +8,51 @@
8
8
 
9
9
 
10
10
 
11
+
12
+
13
+ ```
14
+
15
+
16
+
17
+ ```html
18
+
19
+ <div class='a'></div>
20
+
21
+ <div class='b'></div>
22
+
23
+ ``````
24
+
25
+ ```css
26
+
27
+ div.a {
28
+
11
- ### 該当のソースコード
29
+ width: 50px;
30
+
31
+ height:50px;
32
+
33
+ background-color:red;
34
+
35
+ position:fixed;
36
+
37
+
38
+
39
+ }
40
+
41
+ div.b {
42
+
43
+ width: 50px;
44
+
45
+ height:50px;
46
+
47
+ background-color:black;
48
+
49
+ position:fixed;
50
+
51
+
52
+
53
+ }
54
+
55
+ ``````
12
56
 
13
57
 
14
58