質問編集履歴
7
コード全体
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,15 +6,180 @@
|
|
6
6
|
マウスが乗ったときどのようにしたいかというとこの下の画像のようにしたいです。
|
7
7
|

|
8
8
|
```html
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
<!DOCTYPE html>
|
10
|
+
<html lang="ja">
|
11
|
+
<head>
|
12
|
+
<meta charset="utf-8">
|
13
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
14
|
+
<link rel="apple-touch-icon" href="icon/logo.jpg">
|
15
|
+
<link rel="stylesheet" href="css/style.css">
|
16
|
+
<link rel="stylesheet" href="css/normalize.css">
|
17
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
18
|
+
<script type="text/javascript" src="slick/slick.min.js"></script>
|
19
|
+
<title>lanugo</title>
|
20
|
+
</head>
|
21
|
+
<body>
|
22
|
+
<header>
|
23
|
+
<div class="header__wrap flex">
|
24
|
+
<a href="">
|
25
|
+
<div class="header__left">
|
26
|
+
<div class="header__logo">
|
27
|
+
<img src="img/logo.jpg">
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</a>
|
31
|
+
<nav class="nav">
|
32
|
+
<ul class="nav__gNav flex">
|
33
|
+
<li><a href="">menu</a></li>
|
34
|
+
<li><a href="">news</a></li>
|
35
|
+
<li><a href="">concept</a></li>
|
36
|
+
<li><a href="">access</a></li>
|
37
|
+
<li><a href="">contact</a></li>
|
38
|
+
</ul>
|
39
|
+
</nav>
|
40
|
+
</div>
|
41
|
+
</header>
|
42
|
+
<div class="mainVisual">
|
43
|
+
<div class="concept">
|
44
|
+
<img src="img/concept.png">
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
<div class="main">
|
48
|
+
<div>
|
49
|
+
<img src="img/main_content.png" class="main__img">
|
50
|
+
<div class="main__item--1">
|
51
|
+
<div class="main__item--text">
|
52
|
+
心から「きれいに」「かわいく」したいと思っているため、すべての施術にはオススメのトリートメントと前処理と後処理を無料で含めさせて頂きます。
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div class="main__item--2">
|
56
|
+
<div class="main__item--text">
|
57
|
+
<p>お客さまと信頼しあえる関係性で一緒に都市を重ねていきたいという思いから、わかりやすい料金メニューにしています。施術に追加でオプションがつくことはありません。</p>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
<div class="main__item--3">
|
61
|
+
<div class="main__item--text">
|
62
|
+
<p>丁寧な施術ができるように一対一で施術をおこなえるようにしております。丁寧な施術をおこないます。</p>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
<div class="main__item--4">
|
66
|
+
<div class="main__item--text">
|
67
|
+
<p>LINE@を使ったスタイリングのアドバイスや髪のケアなど、お家に帰った後のご相談もきがるにできます。</p>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
<div class="main__item--5">
|
71
|
+
<div class="main__item--text">
|
72
|
+
<p>アットホームな空間をご用意させてもらうことで、スタイルやケア、その他のこともお客さまから伝えやすくなる工夫をしています。</p>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<div class="main__item--6">
|
76
|
+
<div class="main__item--text">
|
77
|
+
<p>最新のトレンドのスタイルを取り入れながら、お客さまに似合う髪型を提案します。小顔矯正立体カットの資格を持ち、骨格や肩幅から似合せを提供します。</p>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
<div class="information flex">
|
83
|
+
<div class="information__left">
|
84
|
+
<div class="information__text">
|
85
|
+
<p>営業日 : 火曜日~日曜日(金曜日のみ20:00まで)</p>
|
86
|
+
<p>営業時間 : 11:00~19:00</p>
|
87
|
+
<p>住所 : 和歌山市12番町15島ビル 2F</p>
|
88
|
+
<p>TEL : 0734-88-2668</p>
|
89
|
+
<div class="facebook">
|
90
|
+
<div id="pagePlugin">
|
91
|
+
<div class="fb-page" data-href="https://www.facebook.com/Hairlifedesign-lanugo-1426322340740357/" data-tabs="timeline" data-width="500" data-height="500" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/Hairlifedesign-lanugo-1426322340740357/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/Hairlifedesign-lanugo-1426322340740357/">Hair&lifedesign lanugo</a></blockquote>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
<div class="information__right">
|
98
|
+
<img src="img/information1.png">
|
99
|
+
<img src="img/information2.png">
|
100
|
+
</div>
|
13
101
|
</div>
|
102
|
+
<div class="instagram">
|
103
|
+
<iframe src="https://snapwidget.com/embed/423101" class="snapwidget-widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:100%; height:200px"></iframe>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<div id="fb-root"></div>
|
107
|
+
|
108
|
+
<script>
|
109
|
+
(function(d, s, id) {
|
110
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
111
|
+
if (d.getElementById(id)) return;
|
112
|
+
js = d.createElement(s); js.id = id;
|
113
|
+
js.src = "//connect.facebook.net/ja_JP/sdk.js#xfbml=1&version=v2.10&appId=1881778235415743";
|
114
|
+
fjs.parentNode.insertBefore(js, fjs);
|
115
|
+
}(document, 'script', 'facebook-jssdk'));</script>
|
116
|
+
</body>
|
14
117
|
```
|
15
118
|
```css
|
16
|
-
|
119
|
+
body {
|
120
|
+
letter-spacing: .1em;
|
121
|
+
line-height: 1.5em;
|
122
|
+
font-size: 62.5%;
|
123
|
+
font-weight: 200;
|
124
|
+
font-family: helvetica, arial, 'hiragino kaku gothic pro', meiryo, 'ms pgothic', sans-serif;
|
125
|
+
}
|
126
|
+
header {
|
127
|
+
width: 100%;
|
128
|
+
position: fixed;
|
129
|
+
z-index: 10000;
|
130
|
+
background-color: #fff;
|
131
|
+
}
|
132
|
+
.flex{
|
133
|
+
display: flex;
|
134
|
+
}
|
135
|
+
.header__logo {
|
136
|
+
margin: 0 50px;
|
137
|
+
}
|
138
|
+
.header__wrap {
|
139
|
+
margin: 0 auto;
|
140
|
+
padding: 15px 0;
|
141
|
+
position: relative;
|
142
|
+
justify-content: space-between;
|
143
|
+
flex-wrap: wrap;
|
144
|
+
align-items: center;
|
145
|
+
}
|
146
|
+
.nav__gNav li {
|
147
|
+
margin: 0 10px;
|
148
|
+
padding: 1px 4px;
|
149
|
+
font-size: 2.5rem;
|
150
|
+
color: #4d4d4d;
|
151
|
+
}
|
152
|
+
.mainVisual {
|
153
|
+
background-image: url(../img/main.jpg);
|
154
|
+
width: 100%;
|
155
|
+
height: 650px;
|
156
|
+
position: relative;
|
157
|
+
background-position: center center;
|
158
|
+
background-repeat: no-repeat;
|
159
|
+
background-size: cover;
|
160
|
+
}
|
161
|
+
.concept {
|
162
|
+
width: 900px;
|
163
|
+
top: 490px;
|
164
|
+
bottom: 0;
|
165
|
+
left: 100px;
|
166
|
+
right: 0;
|
167
|
+
position: absolute;
|
168
|
+
margin: 0 auto;
|
169
|
+
}
|
170
|
+
.main {
|
171
|
+
height: 100vh;
|
172
|
+
width: 1200px;
|
173
|
+
margin: 410px auto 0;
|
174
|
+
position: relative;
|
175
|
+
}
|
176
|
+
.main__img {
|
177
|
+
position: absolute;
|
178
|
+
top: 170px;
|
179
|
+
left: 230px;
|
180
|
+
z-index: 100;
|
181
|
+
}
|
17
|
-
/*マウスが乗っ
|
182
|
+
/*マウスが乗った*/
|
18
183
|
.main__item--1{
|
19
184
|
background-image: url(../img/mainitem1.png);
|
20
185
|
width: 300px;
|
@@ -24,19 +189,110 @@
|
|
24
189
|
left: 43px;
|
25
190
|
z-index: 1;
|
26
191
|
}
|
192
|
+
.main__item--1:hover {
|
193
|
+
background-image: url(../img/mainitemh1.png);
|
194
|
+
background-repeat: no-repeat;
|
195
|
+
}
|
196
|
+
.main__item--2{
|
197
|
+
background-image: url(../img/mainitem2.png);
|
198
|
+
width: 220px;
|
199
|
+
height: 275px;
|
200
|
+
position: absolute;
|
201
|
+
top: 34px;
|
202
|
+
left: 731px;
|
203
|
+
z-index: 1;
|
204
|
+
}
|
205
|
+
.main__item--2:hover {
|
206
|
+
background-image: url(../img/mainitemh2.png);
|
207
|
+
background-repeat: no-repeat;
|
208
|
+
}
|
209
|
+
.main__item--3{
|
210
|
+
background-image: url(../img/mainitem3.png);
|
211
|
+
width: 205px;
|
212
|
+
height: 200px;
|
213
|
+
position: absolute;
|
214
|
+
top: 247px;
|
215
|
+
left: 268px;
|
216
|
+
z-index: 1;
|
217
|
+
}
|
218
|
+
.main__item--3:hover {
|
219
|
+
background-image: url(../img/mainitemh3.png);
|
220
|
+
background-repeat: no-repeat;
|
221
|
+
}
|
222
|
+
.main__item--4{
|
223
|
+
background-image: url(../img/mainitem4.png);
|
224
|
+
width: 215px;
|
225
|
+
height: 215px;
|
226
|
+
position: absolute;
|
227
|
+
top: 360px;
|
228
|
+
left: 523px;
|
229
|
+
z-index: 1;
|
230
|
+
}
|
231
|
+
.main__item--4:hover {
|
232
|
+
background-image: url(../img/mainitemh4.png);
|
233
|
+
background-repeat: no-repeat;
|
234
|
+
}
|
235
|
+
.main__item--5{
|
236
|
+
background-image: url(../img/mainitem5.png);
|
237
|
+
width: 234px;
|
238
|
+
height: 234px;
|
239
|
+
position: absolute;
|
240
|
+
top: 581px;
|
241
|
+
left: 784px;
|
242
|
+
z-index: 1;
|
243
|
+
}
|
244
|
+
.main__item--5:hover {
|
245
|
+
background-image: url(../img/mainitemh5.png);
|
246
|
+
background-repeat: no-repeat;
|
247
|
+
}
|
248
|
+
.main__item--6{
|
249
|
+
background-image: url(../img/mainitem6.png);
|
250
|
+
width: 330px;
|
251
|
+
height: 245px;
|
252
|
+
position: absolute;
|
253
|
+
top: 617px;
|
254
|
+
left: 191px;
|
255
|
+
z-index: 1;
|
256
|
+
}
|
257
|
+
.main__item--6:hover {
|
258
|
+
background-image: url(../img/mainitemh6.png);
|
259
|
+
background-repeat: no-repeat;
|
260
|
+
}
|
261
|
+
.information {
|
262
|
+
width: 1200px;
|
263
|
+
margin: 340px auto 0;
|
264
|
+
justify-content: space-around;
|
265
|
+
color: #666;
|
266
|
+
}
|
267
|
+
.information__text {
|
268
|
+
margin-left: 30px;
|
269
|
+
}
|
270
|
+
.information__text p {
|
271
|
+
margin-top: 7px;
|
272
|
+
font-size: 2rem;
|
273
|
+
letter-spacing: 5px;
|
274
|
+
}
|
275
|
+
.information__text p:nth-of-type(3) {
|
276
|
+
margin-top: 40px;
|
277
|
+
}
|
278
|
+
.information__right img:last-child {
|
279
|
+
margin-top: 30px;
|
280
|
+
}
|
281
|
+
.facebook {
|
282
|
+
margin-top: 30px;
|
283
|
+
}
|
284
|
+
.instagram {
|
285
|
+
margin-top: 50px;
|
286
|
+
width: 100%;
|
287
|
+
|
288
|
+
}
|
27
289
|
.main__item--text {
|
28
290
|
width: 100%;
|
29
291
|
height: 100%;
|
30
292
|
opacity: 0; /* マスクを表示しない */
|
31
|
-
background-color: rgba(0,0,0,0); /* マスクは半透明 */
|
32
293
|
-webkit-transition: all 0.2s ease;
|
33
294
|
transition: all 0.2s ease;
|
34
295
|
}
|
35
|
-
/*マウスが乗った時の状況*/
|
36
|
-
.main__item--1:hover {
|
37
|
-
background-image: url(../img/mainitemh1.png);
|
38
|
-
background-repeat: no-repeat;
|
39
|
-
}
|
40
296
|
.main__item--text:hover {
|
41
297
|
opacity: 1; /* マスクを表示する */
|
42
298
|
padding-top: 110px;
|
6
大幅に変更しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
###前提・実現したいこと
|
2
|
-
|
2
|
+
現状はこのマウスが乗る前はこのようになり
|
3
|
+

|
4
|
+
マウスが乗ると画像の様に背景が真っ白になってしまいます。
|
5
|
+

|
6
|
+
マウスが乗ったときどのようにしたいかというとこの下の画像のようにしたいです。
|
3
|
-

|
4
|
-
マウスが乗ったらこんな感じに表示したいです
|
5
|
-

|
6
|
-
現在はこのように表示されてしまいます
|
7
|
-

|
8
|
-
次はこのようになってしまいました
|
9
|
-
]
|
10
8
|
```html
|
11
9
|
<div class="main__item--1">
|
12
10
|
<div class="main__item--text">
|
@@ -15,6 +13,8 @@
|
|
15
13
|
</div>
|
16
14
|
```
|
17
15
|
```css
|
16
|
+
|
17
|
+
/*マウスが乗っていない状況*/
|
18
18
|
.main__item--1{
|
19
19
|
background-image: url(../img/mainitem1.png);
|
20
20
|
width: 300px;
|
@@ -24,9 +24,6 @@
|
|
24
24
|
left: 43px;
|
25
25
|
z-index: 1;
|
26
26
|
}
|
27
|
-
.main__item--1:hover {
|
28
|
-
background-image: url(../img/mainitemh1.png);
|
29
|
-
}
|
30
27
|
.main__item--text {
|
31
28
|
width: 100%;
|
32
29
|
height: 100%;
|
@@ -35,8 +32,13 @@
|
|
35
32
|
-webkit-transition: all 0.2s ease;
|
36
33
|
transition: all 0.2s ease;
|
37
34
|
}
|
35
|
+
/*マウスが乗った時の状況*/
|
36
|
+
.main__item--1:hover {
|
37
|
+
background-image: url(../img/mainitemh1.png);
|
38
|
+
background-repeat: no-repeat;
|
39
|
+
}
|
38
|
-
|
40
|
+
.main__item--text:hover {
|
39
|
-
opacity:
|
41
|
+
opacity: 1; /* マスクを表示する */
|
40
42
|
padding-top: 110px;
|
41
43
|
}
|
42
44
|
```
|
5
脱字の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,10 +9,10 @@
|
|
9
9
|
]
|
10
10
|
```html
|
11
11
|
<div class="main__item--1">
|
12
|
-
|
12
|
+
<div class="main__item--text">
|
13
|
-
|
13
|
+
<p>心から「きれいに」「かわいく」したいと思っているため、すべての施術にはオススメのトリートメントと前処理と後処理を無料で含めさせて頂きます。</p>
|
14
|
-
|
14
|
+
</div>
|
15
|
-
|
15
|
+
</div>
|
16
16
|
```
|
17
17
|
```css
|
18
18
|
.main__item--1{
|
4
画像とcss変更しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|

|
6
6
|
現在はこのように表示されてしまいます
|
7
7
|

|
8
|
+
次はこのようになってしまいました
|
9
|
+
]
|
8
10
|
```html
|
9
11
|
<div class="main__item--1">
|
10
12
|
<div class="main__item--text">
|
@@ -34,6 +36,7 @@
|
|
34
36
|
transition: all 0.2s ease;
|
35
37
|
}
|
36
38
|
.main__item--text:hover {
|
37
|
-
opacity:
|
39
|
+
opacity: 1; /* マスクを表示する */
|
40
|
+
padding-top: 110px;
|
38
41
|
}
|
39
42
|
```
|
3
htmlの修正です
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,10 +7,10 @@
|
|
7
7
|

|
8
8
|
```html
|
9
9
|
<div class="main__item--1">
|
10
|
-
|
10
|
+
<div class="main__item--text">
|
11
|
-
|
11
|
+
<p>心から「きれいに」「かわいく」したいと思っているため、すべての施術にはオススメのトリートメントと前処理と後処理を無料で含めさせて頂きます。</p>
|
12
|
-
|
12
|
+
</div>
|
13
|
-
</div>
|
13
|
+
</div>
|
14
14
|
```
|
15
15
|
```css
|
16
16
|
.main__item--1{
|
2
html修正しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
現在はこのように表示されてしまいます
|
7
7
|

|
8
8
|
```html
|
9
|
-
<div class="main__item--
|
9
|
+
<div class="main__item--1">
|
10
10
|
<div class="main__item--text">
|
11
11
|
<p>お客さまと信頼しあえる関係性で一緒に都市を重ねていきたいという思いから、わかりやすい料金メニューにしています。施術に追加でオプションがつくことはありません。</p>
|
12
12
|
</div>
|
1
現在の症状の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,7 +3,8 @@
|
|
3
3
|

|
4
4
|
マウスが乗ったらこんな感じに表示したいです
|
5
5
|

|
6
|
-
|
6
|
+
現在はこのように表示されてしまいます
|
7
|
+

|
7
8
|
```html
|
8
9
|
<div class="main__item--2">
|
9
10
|
<div class="main__item--text">
|