Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
     var clone = $(".pic li:first").clone(true);
     var clone = $(".pic li:first").clone(true);
     $(".pic li:first").animate({
     $(".pic li:first").animate({
-
     marginTop : "-225px"
+
     marginRight : "-300px"
     }, {
     }, {
     duration : 800,
     duration : 800,
Line 93: Line 93:
#picbox{
#picbox{
-
width:300px;
+
height:225px;
-
float:right;
+
margin:20px 0px;
-
margin-left:20px;
+
}
}
.pic {  
.pic {  
-
  float: left;
 
   list-style: none;
   list-style: none;
-
  width:300px;
+
   height:225px;
-
   height:678px;
+
   overflow: hidden;
   overflow: hidden;
   position: relative;
   position: relative;
Line 109: Line 106:
.pic img{
.pic img{
width:300px;
width:300px;
 +
float:left;
}
}
</style>
</style>

Revision as of 06:26, 26 September 2014