Difference between revisions of "Template:Stanford-Brown/CSS"

Line 281: Line 281:
 
}
 
}
 
.homeimage:active{
 
.homeimage:active{
width: 65%;
+
width: 64%;
 +
margin-left: 18%; /*margin-left + (-)margin-right + max-width = 100% */
 +
margin-right: -18%; /*if margin-left = margin-right, will be centered*/
 
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 
}
 
}

Revision as of 02:04, 16 October 2016