Difference between revisions of "Team:HUST-China/Team"

Line 379: Line 379:
 
                 position: absolute;  
 
                 position: absolute;  
 
                 background: #000;  
 
                 background: #000;  
                 height: 120px;  
+
                 height: 140px;  
 
                 width: 100%;  
 
                 width: 100%;  
 
                 opacity: .8;  
 
                 opacity: .8;  
Line 404: Line 404:
 
                 //Caption Sliding (Partially Hidden to Visible)
 
                 //Caption Sliding (Partially Hidden to Visible)
 
                 $('.boxgrid.caption').hover(function(){
 
                 $('.boxgrid.caption').hover(function(){
                     $(".cover", this).stop().animate({top:'200px'},{queue:false,duration:200});
+
                     $(".cover", this).stop().animate({top:'180px'},{queue:false,duration:180});
 
                 }, function() {
 
                 }, function() {
                     $(".cover", this).stop().animate({top:'280px'},{queue:false,duration:200});
+
                     $(".cover", this).stop().animate({top:'260px'},{queue:false,duration:180});
 
                 });
 
                 });
 
             });
 
             });

Revision as of 03:42, 28 October 2017

Attributions

「Team Roster」

Acknowledgments: