Team:Potsdam Bioware/css homepage

From 2011.igem.org

(Difference between revisions)
Line 23: Line 23:
background:linear-gradient(top, #fff, #e6e6e6); /* W3C Standard */
background:linear-gradient(top, #fff, #e6e6e6); /* W3C Standard */
}
}
-
div.box_home:hover {
+
 
-
background: transparent
+
-
url(https://static.igem.org/mediawiki/2011/9/98/Potsdam10_Box_Home.png) no-repeat scroll center 0px;
+
-
}
+
div.box_home div.img {
div.box_home div.img {
width:140px;
width:140px;
Line 39: Line 36:
height:240px;
height:240px;
padding:10px;
padding:10px;
 +
/*
background: transparent  
background: transparent  
url(https://static.igem.org/mediawiki/2011/6/65/Potsdam10_Box_Small.png) no-repeat scroll center 0px;
url(https://static.igem.org/mediawiki/2011/6/65/Potsdam10_Box_Small.png) no-repeat scroll center 0px;
-
}
+
*/
-
div.box_home_small:hover {
+
background:-moz-linear-gradient(top, #fff, #e6e6e6); /* Firefox */
-
background: transparent
+
background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#e6e6e6)); /* Safari, Chrome */
-
url(https://static.igem.org/mediawiki/2011/6/65/Potsdam10_Box_Small.png) no-repeat scroll center 0px;
+
background:-webkit-linear-gradient(top, #fff, #e6e6e6); /* Safari, Chrome - neue Syntax! */
 +
background:-o-linear-gradient(top, #fff, #e6e6e6); /* Opera */
 +
background:-ms-linear-gradient(top, #fff, #e6e6e6); /* IE */
 +
background:linear-gradient(top, #fff, #e6e6e6); /* W3C Standard */
}
}

Revision as of 13:07, 18 September 2011