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

Line 352: Line 352:
 
margin-left: 28%; /*margin-left + (-)margin-right + max-width = 100% */
 
margin-left: 28%; /*margin-left + (-)margin-right + max-width = 100% */
 
margin-right: -28%; /*if margin-left = margin-right, will be centered*/
 
margin-right: -28%; /*if margin-left = margin-right, will be centered*/
 +
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 +
}
 +
 +
.homeimage3{
 +
width: 30%;
 +
margin-left: 35%; /*margin-left + (-)margin-right + max-width = 100% */
 +
margin-right: -35%; /*if margin-left = margin-right, will be centered*/
 +
margin-top: 10px;
 +
margin-bottom: 0px;
 +
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
 +
border-radius:250px;
 +
border:1px solid #dceaff;
 +
}
 +
 +
.homeimage3:active{
 +
width: 30%;
 +
margin-left: 35%; /*margin-left + (-)margin-right + max-width = 100% */
 +
margin-right: -35%; /*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 04:22, 17 October 2016