Difference between revisions of "User:MogDog66/MPR/Page.css"
< User:MogDog66 | MPR
(A test) |
|||
Line 15: | Line 15: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
+ | |||
+ | .test { box-sizing:border-box; | ||
+ | -moz-box-sizing:border-box; /* Firefox */ | ||
+ | -webkit-box-sizing:border-box; /* Safari */ | ||
+ | width:50%; | ||
+ | border:1em solid red; | ||
+ | float:left; } | ||
@media only screen and (max-width : 640px), | @media only screen and (max-width : 640px), |
Revision as of 10:47, 29 June 2012
#mp-container { width: 90%; margin: 10px auto; } .mp-box { width: 40%; float: left; /* margin: 10px 2% 10px 2%; */ background: #f4f3f3; border: 2px solid #4f4945; padding: 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .test { box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ -webkit-box-sizing:border-box; /* Safari */ width:50%; border:1em solid red; float:left; } @media only screen and (max-width : 640px), only screen and (max-device-width : 640px){ .mp-box { width: 100%; } } .content-container { background:url('http://dyne.biringa.com/Wiki_Images/container%20gradient.png') bottom repeat-x; }