質問編集履歴
4
ヘッダーに問題のある画面のスクリーンショットを添付いたしました。
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
3
コードをコードブロックで囲みました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,7 +7,8 @@
|
|
7
7
|
### 発生している問題・エラーメッセージ
|
8
8
|
|
9
9
|
### 該当のソースコード
|
10
|
+
|
10
|
-
|
11
|
+
```HTML
|
11
12
|
<header>
|
12
13
|
<div class="container">
|
13
14
|
<div class="header-left">
|
@@ -22,8 +23,9 @@
|
|
22
23
|
</div>
|
23
24
|
</div>
|
24
25
|
</header>
|
26
|
+
```
|
25
27
|
|
26
|
-
|
28
|
+
```CSS
|
27
29
|
header {
|
28
30
|
position: fixed;
|
29
31
|
top: 0px;
|
@@ -44,6 +46,7 @@
|
|
44
46
|
font-size: 20px;
|
45
47
|
text-shadow: 1.5px 0.5px 0.5px #000000;
|
46
48
|
}
|
49
|
+
```
|
47
50
|
|
48
51
|
### 試したこと
|
49
52
|
|
2
HTMLも追記致しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,7 +7,23 @@
|
|
7
7
|
### 発生している問題・エラーメッセージ
|
8
8
|
|
9
9
|
### 該当のソースコード
|
10
|
+
【HTML】
|
11
|
+
<header>
|
12
|
+
<div class="container">
|
13
|
+
<div class="header-left">
|
14
|
+
<h1 class="title">Bangkok Health Massage</h1>
|
15
|
+
</div>
|
16
|
+
<div class="header-right">
|
17
|
+
<a href="#" style="text-decoration: none;">Top</a>
|
18
|
+
<a href="#" style="text-decoration: none;">Flow</a>
|
19
|
+
<a href="#" style="text-decoration: none;">Company</a>
|
20
|
+
<a href="#" style="text-decoration: none;">Contact</a>
|
21
|
+
<a href="#" class="btn faceook"><i class="fab fa-facebook-square"></i></a>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</header>
|
10
25
|
|
26
|
+
【CSS】
|
11
27
|
header {
|
12
28
|
position: fixed;
|
13
29
|
top: 0px;
|
1
ソースコードを追記いたしました。初心者でかなり未熟ですが宜しくお願い致します。
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,6 +8,27 @@
|
|
8
8
|
|
9
9
|
### 該当のソースコード
|
10
10
|
|
11
|
+
header {
|
12
|
+
position: fixed;
|
13
|
+
top: 0px;
|
14
|
+
background-color: rgba(255,255,255,0.6);
|
15
|
+
height: 70px;
|
16
|
+
z-index: 10;
|
17
|
+
}
|
18
|
+
|
19
|
+
.header-left {
|
20
|
+
float: left;
|
21
|
+
right: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
.header-right {
|
25
|
+
float: right;
|
26
|
+
left: 0;
|
27
|
+
line-height: 70px;
|
28
|
+
font-size: 20px;
|
29
|
+
text-shadow: 1.5px 0.5px 0.5px #000000;
|
30
|
+
}
|
31
|
+
|
11
32
|
### 試したこと
|
12
33
|
|
13
34
|
### 補足情報(FW/ツールのバージョンなど)
|