teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

cssの追記

2017/02/19 10:11

投稿

userones
userones

スコア30

title CHANGED
File without changes
body CHANGED
@@ -12,6 +12,36 @@
12
12
 
13
13
  </body>
14
14
  ```
15
+ ```CSS
16
+ #Video {
17
+ position: fixed;
18
+ min-width: 100%;
19
+ min-height: 100%;
20
+ z-index: -100;
21
+ margin: 0;
22
+ }
23
+ #Header {
24
+ width: 100%;
25
+ height: 55px;
26
+ z-index: 999;
27
+ position: fixed;
28
+ right: 0;
29
+ top:0;
30
+ background-color: transparent;
31
+ }
32
+ #ico {
33
+ width: 100px;
34
+ height: 55px;
35
+ line-height: 55px;
36
+ text-align: center;
37
+ font-size: 30px;
38
+ color: white;
39
+ }
40
+ #Contents {
41
+ background-color: #000;
42
+ }
43
+ ```
44
+
15
45
  このようにVideoタグを使っているのですが、<div>aaaa</div>をVideoタグの上に表示させようとさせたら、Videoタグが一段下がってaaaaが表示されます。どうすれば、Videoタグの上にDiv要素が配置できるのでしょうか...
16
46
 
17
47
  したいこととしては、