body.work { // === About Body === // .work-body { width: 100%; } .work-body .row { max-width: 1200px; margin: 0 auto; } .work-item { position: relative; width: 100%; background-color: #efefef; &:hover img { opacity: .7; } &:nth-child(2n) { background-color: #fefefe; } } .work-item img { display: block; width: 100%; height: 100%; } .work-item h2 { font-size: 36px; font-weight: bold; line-height: 36px; position: absolute; top: 20px; left: 20px; height: 40px; padding: 8px 6px; letter-spacing: 0px; text-transform: uppercase; color: #000000; background-color: #ffffff; } .work-item p { font-size: 16px; line-height: 18px; position: absolute; top: 70px; left: 20px; max-width: 80%; max-width: 320px; padding: 4px 6px; letter-spacing: .08em; text-transform: uppercase; color: #666666; background-color: #ffffff; @include monospace(); } @media (min-width: 800px) { .work-body { &::before, &::after { display: table; content: ""; } &::after { clear: both; } } .work-item { float: left; width: 50%; } } }