Team:UCLA/Template/CSS
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
Line 631: | Line 631: | ||
</style> | </style> | ||
+ | <!--TILES COLUMNS--> | ||
+ | <style> | ||
+ | .section { | ||
+ | clear: both; | ||
+ | padding: 0px; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | .group:before, | ||
+ | .group:after { | ||
+ | content:""; | ||
+ | display:table; | ||
+ | } | ||
+ | .group:after { | ||
+ | clear:both; | ||
+ | } | ||
+ | .group { | ||
+ | zoom:1; /* For IE 6/7 (trigger hasLayout) */ | ||
+ | } | ||
+ | .col { | ||
+ | display: block; | ||
+ | float:left; | ||
+ | margin: 1% 0 1% 1.6%; | ||
+ | } | ||
+ | |||
+ | .col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */ | ||
+ | |||
+ | @media only screen and (max-width: 480px) { | ||
+ | .col { | ||
+ | margin: 1% 0 1% 0%; | ||
+ | } | ||
+ | } | ||
+ | </style> | ||
</html> | </html> |
Revision as of 21:32, 25 September 2014