質問編集履歴

1

cssの追記

2017/02/19 10:11

投稿

userones
userones

スコア30

test CHANGED
File without changes
test CHANGED
@@ -26,6 +26,66 @@
26
26
 
27
27
  ```
28
28
 
29
+ ```CSS
30
+
31
+ #Video {
32
+
33
+ position: fixed;
34
+
35
+ min-width: 100%;
36
+
37
+ min-height: 100%;
38
+
39
+ z-index: -100;
40
+
41
+ margin: 0;
42
+
43
+ }
44
+
45
+ #Header {
46
+
47
+ width: 100%;
48
+
49
+ height: 55px;
50
+
51
+ z-index: 999;
52
+
53
+ position: fixed;
54
+
55
+ right: 0;
56
+
57
+ top:0;
58
+
59
+ background-color: transparent;
60
+
61
+ }
62
+
63
+ #ico {
64
+
65
+ width: 100px;
66
+
67
+ height: 55px;
68
+
69
+ line-height: 55px;
70
+
71
+ text-align: center;
72
+
73
+ font-size: 30px;
74
+
75
+ color: white;
76
+
77
+ }
78
+
79
+ #Contents {
80
+
81
+ background-color: #000;
82
+
83
+ }
84
+
85
+ ```
86
+
87
+
88
+
29
89
  このようにVideoタグを使っているのですが、<div>aaaa</div>をVideoタグの上に表示させようとさせたら、Videoタグが一段下がってaaaaが表示されます。どうすれば、Videoタグの上にDiv要素が配置できるのでしょうか...
30
90
 
31
91