"layout card"
Bootstrap 3.3.0 Snippet by evarevirus

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="top"> <div class="card"> <div class="photo"> <img src="http://sergeylukin.com/images/builder.png" alt="Sergey Lukin" width="100%" /> </div> <div class="info"> <dl class="PersonalDetails"> <dt>Name Surname</dt> <dd class="PersonalDetails-nameValue">Sergey Lukin</dd> <dt class="PersonalDetails-occupation">Prime occupation</dt> <dd class="PersonalDetails-occupationValue">Software Developer</dd> <dt class="PersonalDetails-about">About me</dt> <dd class="PersonalDetails-aboutValue"> <p>Hi, I'm Sergey, 30yo, father of 2, currently based in Tel Aviv, Israel.</p> <p>#sport, #love, #beer, #programming, #ui, #ux are all part of what I'm mostly passionate about.</p> <p>Read more about me in my <a href="/resume">Résumé</a></p> </dd> </dl> </div> </div> </div> <div class="stage"></div> <div class="content"> </div> </div>
@import "https://fonts.googleapis.com/css?family=Lato|Montserrat"; @import "https://necolas.github.io/normalize.css/4.1.1/normalize.css"; html { font-size: 62.5%; } body { font-size: 1.6rem; font-family: Lato, sans-serif; } a { color: #b7952d; } a:hover { text-decoration: none; } body { background-color: #f6cc4c; } @media only screen and (min-width: 640px) { body { background-color: white; } } .top { position: relative; padding: 5vw; } @media only screen and (min-width: 640px) { .top { padding: 5vw 15vw; } } .top::before { content: ''; position: absolute; top: 0; left: 10vw; width: calc(100% - 14.2vw - 3vw - 3vw); height: 100%; background-color: white; z-index: -1; } @media only screen and (min-width: 640px) { .top::before { width: 27vw; } } @media only screen and (min-width: 640px) { .top::before { background-color: #f6cc4c; } } .top::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 25vh; background: linear-gradient(0deg, rgba(0, 0, 0, 0.04) 5%, transparent); z-index: -1; } .card { box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.15); } @media only screen and (min-width: 640px) { .card { opacity: .99; position: relative; overflow: hidden; } .card::before { content: ''; position: absolute; top: 0; left: 0; width: 27vw; height: 100%; background-color: #f6cc4c; z-index: -1; } } .photo { background-color: white; border-bottom: 1px solid #d1d1d1; text-align: center; height: calc(100vmin - 5vw); overflow: hidden; } @media only screen and (min-width: 640px) { .photo { background-color: transparent; } } @media only screen and (min-width: 640px) { .photo { border-bottom: none; } } @media only screen and (min-width: 640px) { .photo { display: flex; flex-direction: column-reverse; } } @media only screen and (min-width: 740px) { .photo { display: block; } } @media only screen and (min-width: 640px) { .photo { position: absolute; width: 27vw; height: 100%; padding-top: 1rem; padding-left: 1rem; } } @media only screen and (min-width: 640px) { .photo { overflow: visible; } } .photo img { margin-top: 1rem; width: 90%; text-align: center; vertical-align: bottom; } @media only screen and (min-width: 640px) { .photo img { margin-top: 0; } } @media only screen and (min-width: 640px) { .photo img { width: 100%; } } @media only screen and (min-width: 640px) { .photo img { height: auto; } } @media only screen and (min-width: 640px) { .photo img { position: absolute; bottom: 0; left: 1rem; } } @media only screen and (min-width: 1024px) { .photo img { top: 1rem; bottom: auto; } } .info { padding: 8vw; color: rgba(0, 0, 0, 0.6); background-color: white; } @media only screen and (min-width: 640px) { .info { padding: 3vw 4vw; } } @media only screen and (min-width: 640px) { .info { min-height: 30vh; margin: 0 0 0 27vw; } } .PersonalDetails { margin: 0; } .PersonalDetails dt { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; color: #d1d1d1; } @media only screen and (min-width: 640px) { .PersonalDetails dt { font-size: 1.4rem; } } @media only screen and (min-width: 740px) { .PersonalDetails dt { font-size: 1.6rem; } } .PersonalDetails-nameValue { font-size: 2.8rem; } @media only screen and (min-width: 640px) { .PersonalDetails-nameValue { font-size: 1.8rem; } } @media only screen and (min-width: 740px) { .PersonalDetails-nameValue { font-size: 2.8rem; } } .PersonalDetails-occupationValue { font-size: 2.0rem; } @media only screen and (min-width: 640px) { .PersonalDetails-occupationValue { font-size: 1.4rem; } } @media only screen and (min-width: 740px) { .PersonalDetails-occupationValue { font-size: 2.4rem; } } .PersonalDetails-aboutValue { font-weight: 400; font-size: 1.5rem; } @media only screen and (min-width: 640px) { .PersonalDetails-aboutValue { font-size: 1.4rem; } } @media only screen and (min-width: 740px) { .PersonalDetails-aboutValue { font-size: 1.8rem; } } .PersonalDetails-occupation, .PersonalDetails-about, .PersonalDetails-location { margin-top: 2rem; } .PersonalDetails dd { margin: 0; } .PersonalDetails dd p:first-child { margin-top: 0; } /* // 2 triangles by sides .stage { height: 50px; width: 40vw; margin-left: 10vw; background-color: $carpet-color; position: relative; } .stage::before { content: ''; position: absolute; top: 0; left: -7vw; width: 0; height: 0; border-style: solid; border-width: 0 0 50px 7.03vw; border-color: transparent transparent $carpet-color transparent; } .stage::after { content: ''; position: absolute; top: 0; right: -2vw; width: 0; height: 0; border-style: solid; border-width: 0 2.03vw 50px 0; border-color: transparent transparent $carpet-color transparent; } */ /* // Skew .stage { position: relative; background: red; width: 40vw; height: 6vw; margin-left: 10vw; } .stage:before, .stage:after { content: ''; position: absolute; left: 0; width: 100%; height: 100%; background: $carpet-color; transform-origin: 100% 0; } .stage:before { transform: skewX(-49deg); } .stage::after { transform: skewX(18.5deg); } */ .stage { /*height: 50px; width: 40vw;*/ margin-left: 3vw; /*background-color: $carpet-color;*/ position: relative; border-left: 7.1vw solid transparent; border-right: 7.3vw solid transparent; border-top: 0; border-bottom: 50px solid white; width: calc(100% - 14.2vw - 3vw - 3vw); height: 0; } @media only screen and (min-width: 640px) { .stage { border-right: 2vw solid transparent; } } @media only screen and (min-width: 640px) { .stage { border-bottom-color: #f6cc4c; } } @media only screen and (min-width: 640px) { .stage { width: 27vw; } } /*.stage::before { content: ''; position: absolute; top: 0; left: -7vw; width: 0; height: 0; border-style: solid; border-width: 0 0 50px 7.03vw; border-color: transparent transparent $carpet-color transparent; } .stage::after { content: ''; position: absolute; top: 0; right: -2vw; width: 0; height: 0; border-style: solid; border-width: 0 2.03vw 50px 0; border-color: transparent transparent $carpet-color transparent; } */ .content { position: relative; min-height: 100vh; } .content::before { content: ''; position: absolute; top: 0px; left: calc(10vw - 7vw); width: calc(100% - 6vw); height: 100%; background-color: white; } @media only screen and (min-width: 640px) { .content::before { width: calc(27vw + 7vw + 2vw); } } @media only screen and (min-width: 640px) { .content::before { background-color: #f6cc4c; } } .content::after { content: ''; position: absolute; top: -0px; left: 0; width: 100%; height: 10vh; background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 5%, transparent); }

Related: See More


Questions / Comments: