Tpullinger (Talk | contribs) |
Tpullinger (Talk | contribs) |
||
Line 338: | Line 338: | ||
.homeimage2{ | .homeimage2{ | ||
− | width: | + | width: 44%; |
− | margin-left: | + | margin-left: 28%; /*margin-left + (-)margin-right + max-width = 100% */ |
− | margin-right: - | + | margin-right: -28%; /*if margin-left = margin-right, will be centered*/ |
margin-top: 10px; | margin-top: 10px; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
Line 349: | Line 349: | ||
.homeimage2:active{ | .homeimage2:active{ | ||
− | width: | + | width: 44%; |
− | margin-left: | + | margin-left: 28%; /*margin-left + (-)margin-right + max-width = 100% */ |
− | margin-right: - | + | margin-right: -28%; /*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:17, 17 October 2016