1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
39
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137 |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>高梁市 吹屋</title>
<style>
<!--
.img-frame{
position: relative;
width: 100%;
height: 675px;
overflow: hidden;
margin: 0 auto;
}
.img-01, .img-02, .img-03, .img-04, .img-05{
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
background-size: cover;
background-repeat: no-repeat;
}
.img-01{
background-image: url('photo/1.jpg');
animation: slide-animation-01 24s infinite;
}
.img-02{
background-image: url('photo/2.jpg');
animation: slide-animation-02 24s infinite;
}
.img-03{
background-image: url('photo/3.jpg');
animation: slide-animation-03 24s infinite;
}
.img-04{
background-image: url('photo/4.jpg');
animation: slide-animation-04 24s infinite;
}
.img-05{
background-image: url('photo/5.jpg');
animation: slide-animation-05 24s infinite;
}
@keyframes slide-animation-01 {
0% {opacity: 1; transform: scale(1.0) ;}
10% {opacity: 1;}
30% {opacity: 0; transform: scale(1.15)}
50% {opacity: 0}
100% {opacity: 1; transform: scale(1.0)}
}
@keyframes slide-animation-02 {
0% {opacity: 0;}
15% {opacity: 0; transform: scale(1.1) }
40% {opacity: 1;}
60% {opacity: 1;}
70% {opacity: 0; transform: scale(1.0)}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
0% {opacity: 0;}
30% {opacity: 0; transform: scale(1.0) ;}
70% {opacity: 1;}
90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1) ;}
}@keyframes slide-animation-04 {
0% {opacity: 0;}
60% {opacity: 0; transform: scale(1.0) }
80% {opacity: 1;}
90% {opacity: 1;}
95% {opacity: 0; transform: scale(1.1)}
100% {opacity: 0;}
}
@keyframes slide-animation-05 {
0% {opacity: 0;}
80% {opacity: 0; transform: scale(1.1) ;}
90% {opacity: 1;}
95% {opacity: 1;}
100% {opacity: 0; transform: scale(1.0) ;}
}
@media screen and (max-width: 767px){
.img-frame{
width: 100%;
height: 200px;
}
}
.msg{
font-size: 20px;
color: #fff!important;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50% , -50%);
}
.blog main p.msg{
margin: 0;
}
.msg-01, .msg-02{
text-shadow: 2px 2px 3px #000, -1px -1px 3px #000;
}
.img-03.cover::after{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .7);
}
.msg-03{
z-index:1;
}
.msg-04, .msg-05{
text-shadow: 2px 2px 3px #000, -1px -1px 3px #000;
}
-->
</style>
</head>
<body>
<div class="img-frame">
<div class="img-01">
<p class="msg msg-01"><font size="+2" color="#00cc00">岡山県 高梁市 吹屋 ベンガラの街</font></p>
</div>
<div class="img-02">
<p class="msg msg-02"><font size="+2" color="#00cc00">ボンネットバス</font></p>
</div>
<div class="img-03">
<p class="msg msg-03"><font size="+2" color="#00cc00">レトロな街</font></p>
</div>
<div class="img-04">
<p class="msg msg-04"><font size="+2" color="#00cc00">吹屋郵便局</font></p>
</div>
<div class="img-05">
<p class="msg msg-05"><font size="+2" color="#00cc00">ベンガラ染工房</font></p>
</div>
</div>
</body>
</html> |