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

Line 330: Line 330:
 
}
 
}
 
.homeimage:active{
 
.homeimage:active{
width: 64%;
+
width: 62%;
margin-left: 18%; /*margin-left + (-)margin-right + max-width = 100% */
+
margin-left: 19%; /*margin-left + (-)margin-right + max-width = 100% */
margin-right: -18%; /*if margin-left = margin-right, will be centered*/
+
margin-right: -19%; /*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 03:02, 16 October 2016