Difference between revisions of "Template:Vanderbilt Header"
Line 63: | Line 63: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
+ | .grid { | ||
+ | background: #DDD; | ||
+ | } | ||
+ | |||
+ | /* clear fix */ | ||
+ | .grid:after { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | /* ---- .element-item ---- */ | ||
+ | |||
+ | /* 5 columns, percentage width */ | ||
+ | .grid-item, | ||
+ | .grid-sizer { | ||
+ | width: 20%; | ||
+ | } | ||
+ | |||
+ | .grid-item { | ||
+ | float: left; | ||
+ | height: 100px; | ||
+ | background: #0D8; | ||
+ | border: 2px solid #333; | ||
+ | border-color: hsla(0, 0%, 0%, 0.7); | ||
+ | } | ||
+ | |||
+ | .grid-item--width2 { width: 40%; } | ||
+ | .grid-item--height2 { height: 200px; } | ||
</style> | </style> |
Revision as of 02:22, 7 September 2015
Demons in the Code
Vanderbilt University