質問編集履歴
1
情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -97,3 +97,85 @@
|
|
97
97
|
</li>
|
98
98
|
|
99
99
|
```
|
100
|
+
|
101
|
+
```css
|
102
|
+
|
103
|
+
//slick
|
104
|
+
|
105
|
+
.slider{
|
106
|
+
|
107
|
+
width: 100%;
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
}
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
.slider li a img{
|
120
|
+
|
121
|
+
display: block;
|
122
|
+
|
123
|
+
background-size: cover;
|
124
|
+
|
125
|
+
width: 100vw;
|
126
|
+
|
127
|
+
height: 40vw;
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
```js
|
140
|
+
|
141
|
+
//slick
|
142
|
+
|
143
|
+
jQuery(function(){
|
144
|
+
|
145
|
+
jQuery('.slider').slick({
|
146
|
+
|
147
|
+
autoplay:true,
|
148
|
+
|
149
|
+
autoplaySpeed:5000,
|
150
|
+
|
151
|
+
dots:true,
|
152
|
+
|
153
|
+
slidesToShow:1,
|
154
|
+
|
155
|
+
slidesToScroll:1,
|
156
|
+
|
157
|
+
responsive:[
|
158
|
+
|
159
|
+
{
|
160
|
+
|
161
|
+
breakpoint:768,
|
162
|
+
|
163
|
+
settings:{
|
164
|
+
|
165
|
+
slidesToShow:1,
|
166
|
+
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
},
|
172
|
+
|
173
|
+
]
|
174
|
+
|
175
|
+
});
|
176
|
+
|
177
|
+
});
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
```
|