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

Line 415: Line 415:
 
}
 
}
  
.scale {
+
 
    width: 400px;
+
    height: 300px;
+
    overflow: hidden;
+
}
+
 
.scale img {
 
.scale img {
 
     -moz-transition: -moz-transform 0.5s linear;
 
     -moz-transition: -moz-transform 0.5s linear;
Line 428: Line 424:
 
}
 
}
 
.scale img:hover {
 
.scale img:hover {
     -webkit-transform: scale(2.5);
+
     -webkit-transform: scale(1.2);
     -moz-transform: scale(2.5);
+
     -moz-transform: scale(1.2);
     -o-transform: scale(2.5);
+
     -o-transform: scale(1.2);
     -ms-transform: scale(2.5);
+
     -ms-transform: scale(1.2);
     transform: scale(2.5);
+
     transform: scale(1.2);
 
}
 
}
 +
 +
 +
  
 
</style>
 
</style>
  
 
</html>
 
</html>

Revision as of 18:45, 31 October 2017