<section class="grid">
    <h1 class="grid__title">A <br>Grid <br>Overlap <br>Meditation</h1>
    
    <img class="grid__image" src='https://images.unsplash.com/photo-1466951477635-f802dbe34af9?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&s=54a2faeacb50353b77dd9e3c862561f2' alt='A graffiti image of Einstein. Represents dangerous knowledge to tie in my with my theme'>
    <img src="https://images.unsplash.com/photo-1453814235491-3cfac3999928?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&s=6b5bdd2d8b367203061069109a4252e6" alt="A graffiti art of a woman in pink sunglasses. Feels post-modern and ties in with the 'Punk' theme of this pen" class="grid__punk">    
    
    <h4 class="grid__subhead">punked?</h4>
    <p class="grid__description">The next 3-5 years of web design are going to be an amazing era of experimentation on the web (hopefully). Reading articles by Jen Simmons and others makes me really want to coin the phrase "Punk Rock Web Design" since they look to take inspiration from the 70s and 80s of graphic design. This will be an amazing time... as long as we remember to keep things usable. This design meditation is me trying to push my boundaries of what layout is. Open up dev tools (in Firefox especially) to view the Grid layout I'm playing with.</p>
    <h3 class="grid__accent-font">Is Punk Rock Design a Good Idea?</h3>
    <div class="grid__promo">
        <h3>Interested in more ideas like this?</h3>
        <p><a href="http://twitter.com/brob/" title="Bryan Robinson's Twitter Profile">Follow me on Twitter</a> or <a href="https://bryanlrobinson.com" title="Bryan Robinson's blog and portfolio">visit my personal site</a></p>    
    </div>

</section>
.grid {
    display: grid;
    grid-template-columns: [page-start first-third-start] 0.3fr [indented-start] 1fr [description-start] 0.3fr [first-third-end] 0.8fr [second-third-end] 0.3fr 1fr [indented-end description-end] 0.3fr [page-end second-third-start];
    grid-auto-rows: minmax(100px, 1fr);
    align-items: start;
}
.grid__title {
    grid-column: indented-start / first-third-end;
    grid-row: 1 / 3;
    align-self: start;
}
.grid__description {
    grid-column: description;
    grid-row: 3 / 5;
    z-index: 10;
}
@media (max-width: 900px) {
    .grid__description {
        grid-row: 4 / 6;
    }
}
.grid__subhead {
    grid-row: 3;
    grid-column: indented-start / description-start;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    
}
@media (max-width: 900px) {
    .grid__subhead {
        grid-row: 4;
    }
}
.grid__accent-font {
    grid-column: second-third;
    grid-row: 2 / 4;
    transform: rotate(-10deg);
    position: relative;
    left: -30px;
    margin: 5px 0;
}
@media (max-width: 900px) {
    .grid__accent-font {
        left: 0;
        grid-column: 1 / 7;
        grid-row: 3 / 5;
        align-self: start;
        text-align: right;
        transform: rotate(0);
    }
}
.grid__promo {
    grid-column: description-start / page-end;
    grid-row: 5 / 6;
    align-self: stretch;
}
@media (max-width: 900px) {
    .grid__promo {
        grid-column: 1 / 8;
        grid-row: 6;
    }
}
.grid__image {
    z-index: -1;
    grid-column: page-start / page-end;
    grid-row: 1 / 5;
    align-self: stretch;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    align-self: stretch;
}
.grid__punk {
    grid-column: first-third;
    grid-row: 2 / 6;
    z-index: -1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.9;
    border-radius: 0 5px 5px 0;
}
@media (max-width: 900px) {
    .grid__punk {
        grid-column: 1 / 4;
        grid-row: 4 / 7;
        align-self: stretch;
    }
}



.grid__title {
    color: white;
    font-size: 60px;
    text-shadow: 1px 3px 0px #111;
    line-height: 0.7em;
    text-transform: uppercase;
}
.grid__subhead {
    color: #f80759;
    margin: 0;
    font-size: 2.5rem;
    text-shadow: -1px -1px 0 #222;
}

.grid__accent-font {
    color: #f80759;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    font-size: 75px;
    line-height: 1em;
    font-family: cursive;
}
.grid__description {
    font-size: 1.2rem;
    line-height: 1.4em;
    color: white;
    text-shadow: 1px 1px 3px black;
}
.grid__promo {
    color: #222;
    padding: 20px;
    background-color: #bc4e9c;
    background-image: linear-gradient(
        175deg,
        #f80759,
        #f80759 15%,
        #bc4e9c 70%,
        #bc4e9c
    );
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}
.grid__promo h3,
.grid__promo p {
    margin: 0;
}
.grid__promo a {
    color: #111;
}
.grid__promo a:hover {
    color: #444;
}
.grid img {
    max-width: 100%;
}

html {
    font-size: 18px;
    font-family: Frutiger, ‘Frutiger Linotype’, Univers, Calibri, ‘Gill Sans’,
        ‘Gill Sans MT’, ‘Myriad Pro’, Myriad, ‘DejaVu Sans Condensed’,
        ‘Liberation Sans’, ‘Nimbus Sans L’, Tahoma, Geneva, ‘Helvetica Neue’,
        Helvetica, Arial, sans-serif;
    line-height: 1.8em;
    color: #222;
}
@media (max-width: 900px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #f80759;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.