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

質問編集履歴

1

修正されたため、内容に価値がなくなりました。

2015/08/31 13:33

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -1,84 +1,8 @@
1
1
  皆様、質問がございます。よろしくお願い申し上げます。
2
2
 
3
- Cloud9の参考URL
4
- https://first-projects-rudiments.c9.io/?_c9_id=livepreview0&_c9_host=https://ide.c9.io#
5
3
 
6
- 参考URLのサイトにて、ヘッダーの上にスペースができている状態を修正したいと考えています。
7
4
 
8
- つまり、ヘッダーのスペースがあるのがおかしいと感じるためそれを無くしたいのです。
9
5
 
10
- よろしくお願い申し上げ
6
+ 今回の問題が解決されした
11
7
 
12
-
13
- cssのコード
14
- ```
15
-
16
- body{
17
- margin: 0;
18
- }
19
-
20
- a{
21
- text-decoration: none;
22
- }
23
-
24
-
25
-
26
- header{
27
- height: 100%;
28
- width: 100%;
29
- background-color: rgba(34,49,52,0.9);
30
- }
31
-
32
-
33
- .header-left {
34
- font-size: 50px;
35
- margin-top: 10px;
36
- font-weight: bold;
37
- font-family: 'shift', sans-serif;
38
- color:white;
39
- }
40
-
41
- .top-wrapper{
42
- padding: 220px 0 100px 0;
43
- background-image: url(https://visualstudiomagazine.com/blogs/onward-and-upward/2013/04/~/media/ECG/visualstudiomagazine/Images/introimages/VSMWardAzureRuby.ashx);
44
- background-size: cover;
45
- color: white;
46
- text-align: center;
47
- }
48
-
49
- .container{
50
- width: 1170px;
51
- padding: 0 0px;
52
- margin: 0 auto;
53
- }
54
-
55
- .top-wrapper h1{
56
- opacity: 0.7;
57
- font-size: 45px;
58
- letter-spacing: 5px;
59
- }
60
-
61
- .top-wrapper p{
62
- opacity: 0.7;
63
- font-size: 14px;
64
- margin-bottom: 35px;
65
- }
66
-
67
- .signup{
68
- background-color: #239b76;
8
+ 質問を簡単に消せない仕様のため、このような記述となります。
69
- }
70
-
71
-
72
-
73
- .btn{
74
- padding: 8px 24px;
75
- color: white;
76
- display: inline-block;
77
- opacity: 0.8;
78
- border-radius: 4px;
79
- }
80
-
81
- .btn:hover{
82
- opacity: 1;
83
- }
84
- ```