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

Line 264: Line 264:
  
 
.photo-show {  
 
.photo-show {  
    height: 440px; /*表示したい大きさ*/
 
 
     margin: 30px auto; /*縦余白30pxは任意*/
 
     margin: 30px auto; /*縦余白30pxは任意*/
     max-width: 100%;
+
     max-width: 90%;
 
     position: relative;
 
     position: relative;
    width: 440px; /*表示したい大きさ、height と合わせる*/
 
 
}
 
}
  
Line 305: Line 303:
  
 
.photo-show img:nth-of-type(2) {
 
.photo-show img:nth-of-type(2) {
     animation-delay: 2s;
+
     animation-delay: 4s;
 
     -webkit-animation-delay: 2s;
 
     -webkit-animation-delay: 2s;
 
}
 
}
  
 
.photo-show img:nth-of-type(3) {
 
.photo-show img:nth-of-type(3) {
     animation-delay: 4s;
+
     animation-delay: 8s;
 
     -webkit-animation-delay: 4s;
 
     -webkit-animation-delay: 4s;
 
}
 
}
Line 318: Line 316:
  
 
.photo-show img {
 
.photo-show img {
     transition: 0.2s;
+
     transition: 2s;
     -webkit-transition: 0.2s;
+
     -webkit-transition: 2s;
 
}
 
}
  

Revision as of 17:37, 31 October 2017