質問編集履歴
1
スライドショー
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,4 +6,178 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
<aside id="mainimg">
|
10
|
+
|
11
|
+
<div class="koteimoji">
|
12
|
+
|
13
|
+
★<p>次の世代のために
|
14
|
+
|
15
|
+
<br>
|
16
|
+
|
17
|
+
★<br> チャレンジする</p></div>
|
18
|
+
|
19
|
+
<img src="images/main1.jpg" alt="" id="slide1" height="500px" >
|
20
|
+
|
21
|
+
<div class="rect">
|
22
|
+
|
23
|
+
<p class="TextTyping">楽しいに</p> </div>
|
24
|
+
|
25
|
+
<img src="images/main2.jpg" alt="" id="slide2"height="500px" >
|
26
|
+
|
27
|
+
<img src="images/main3.jpg" alt="" id="slide3" height="500px">
|
28
|
+
|
29
|
+
★<a href="#message" class="arrow1" class="hover3">MESSAGE</a>
|
30
|
+
|
31
|
+
</aside>
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
★スクロールすると3行ともいっしょに動いてしまいます。
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
/*画像ブロック*/
|
40
|
+
|
41
|
+
#mainimg {
|
42
|
+
|
43
|
+
clear: left;
|
44
|
+
|
45
|
+
width: 100%;
|
46
|
+
|
47
|
+
margin-bottom: 20px;
|
48
|
+
|
49
|
+
position: relative;
|
50
|
+
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
/*========= message===============*/
|
58
|
+
|
59
|
+
a.arrow1{
|
60
|
+
|
61
|
+
text-decoration:none;
|
62
|
+
|
63
|
+
color:#fff;
|
64
|
+
|
65
|
+
padding-right:40px;
|
66
|
+
|
67
|
+
top:520px;
|
68
|
+
|
69
|
+
left:150px;
|
70
|
+
|
71
|
+
display: block;
|
72
|
+
|
73
|
+
position: fixed;
|
74
|
+
|
75
|
+
}
|
76
|
+
|
77
|
+
a.arrow1:before,
|
78
|
+
|
79
|
+
a.arrow1:after{
|
80
|
+
|
81
|
+
content:"";
|
82
|
+
|
83
|
+
display:block;
|
84
|
+
|
85
|
+
position:absolute;
|
86
|
+
|
87
|
+
}
|
88
|
+
|
89
|
+
a.arrow1:before{
|
90
|
+
|
91
|
+
border-right:1px solid #fff;
|
92
|
+
|
93
|
+
border-top:1px solid #fff;
|
94
|
+
|
9
|
-
|
95
|
+
-webkit-transform:rotate(45deg);
|
96
|
+
|
97
|
+
transform:rotate(45deg);
|
98
|
+
|
99
|
+
width:8px;height:8px;
|
100
|
+
|
101
|
+
right:0;top:50%;
|
102
|
+
|
103
|
+
margin-top:-4px;
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
a.arrow1:after{
|
108
|
+
|
109
|
+
width:25px;
|
110
|
+
|
111
|
+
border-bottom:1px solid #fff;
|
112
|
+
|
113
|
+
right:0;top:50%;
|
114
|
+
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
/*========= 次の世代のために
|
120
|
+
|
121
|
+
〇〇〇 チャレンジする===============*/
|
122
|
+
|
123
|
+
.koteimoji {/*親div*/
|
124
|
+
|
125
|
+
position: relative;/*相対配置*/
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
.koteimoji p {
|
132
|
+
|
133
|
+
display: block;
|
134
|
+
|
135
|
+
position: fixed;
|
136
|
+
|
137
|
+
top: 300px;
|
138
|
+
|
139
|
+
left: 50px;
|
140
|
+
|
141
|
+
margin:0;
|
142
|
+
|
143
|
+
padding:0;
|
144
|
+
|
145
|
+
color: white;/*文字は白に*/
|
146
|
+
|
147
|
+
font-weight: bold; /*太字に*/
|
148
|
+
|
149
|
+
font-size: 4em;/*サイズ2倍*/
|
150
|
+
|
151
|
+
z-index: 10;
|
152
|
+
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
/*========= 四角===============*/
|
164
|
+
|
165
|
+
.rect {
|
166
|
+
|
167
|
+
display: block;
|
168
|
+
|
169
|
+
position: fixed;
|
170
|
+
|
171
|
+
top:320px;
|
172
|
+
|
173
|
+
left: 40px;
|
174
|
+
|
175
|
+
padding: 10px 100PX;
|
176
|
+
|
177
|
+
margin: 30px;
|
178
|
+
|
179
|
+
font-weight: bold;
|
180
|
+
|
181
|
+
border: solid 3px #fff;
|
182
|
+
|
183
|
+
}
|