Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section div {
- width: 9em;
- margin: 1ex auto;
- background-color: #F0F0F0;
- text-align: center;
- padding:2em;}
- section dd {
- margin: 0;
- color: #66cca8;}
- section dt { text-transform: uppercase;}
- /* ==========================================================================
- Media Queries
- ========================================================================== */
- @media only screen and (min-width: 480px) {
- section div {
- width:35%;
- float:left;
- margin:7.5%;
- padding: 1em 0 1.5em; }
- section dt {
- font-size:125%;
- margin-bottom: 1ex; }
- section div:nth-of-type(3) { clear: left; }
- }
- @media only screen and (min-width: 768px) {
- section div {
- width:23%;
- height:148px;
- margin: 0 1%; }
- section div:nth-of-type(3) { clear: none; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement