Difference between revisions of "Team:Valencia UPV/logocolor"

m
Line 480: Line 480:
 
     background-color: #006600;
 
     background-color: #006600;
 
}
 
}
 +
 +
ul.img-list { list-style-type: none;margin:0;padding:0;text-align:center; }
 +
ul.img-list li {width:230px;height:180px;margin-right:1em;position:relative;margin-bottom:1.5em;display:inline-block;}
 +
ul.img-list li:hover span.text-content {opacity:1;}
 +
span.text-content {position:absolute;top:0;left:0;background:rgba(0,0,0,0.5);color:white;cursor:pointer;display:table;width:230px;height:180px;opacity:0;
 +
    -webkit-transition: opacity 500ms;
 +
    -moz-transition: opacity 500ms;
 +
    -o-transition: opacity 500ms;
 +
    transition: opacity 500ms;}
 +
span.text-content span {display:table-cell;vertical-align:middle;text-align:center;}
 +
 +
  
 
#scroll1{}
 
#scroll1{}

Revision as of 00:22, 13 September 2015