Difference between revisions of "Template:TokyoTech/css/main"

Line 226: Line 226:
  
  
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
 
 
#css-slider {
 
#css-slider {
width: 300px;
+
  width: 500px;
height: 200px;
+
  height: 800px;
overflow: hidden;
+
  overflow: hidden;
 
}
 
}
 
   
 
   
 
.slide-item {
 
.slide-item {
width: 300px;
+
  width: 500px;
height: 200px;
+
  height: 800px;
float: left;
+
  float: left;
position: relative;
+
  position: relative;
 
}
 
}
 
   
 
   
 
   
 
   
 
.slider-wrapper {
 
.slider-wrapper {
width: 300%;
+
  width: 300%;
position: relative;
+
  position: relative;
left: 0;
+
  left: 0;
will-change: transform;
+
  will-change: transform;
animation: slider 10s infinite;
+
  animation: slider 10s infinite;
 
}
 
}
 
   
 
   

Revision as of 14:09, 30 October 2017