Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DoubleMarv/aeb1f9921b5876cd4739278bc8728710 to your computer and use it in GitHub Desktop.
Save DoubleMarv/aeb1f9921b5876cd4739278bc8728710 to your computer and use it in GitHub Desktop.
<style>
/*scss*/
.bustoutphotoleftsection{
@media screen and (min-width:768px){
padding: 4.25rem 0 2rem;
}
@media screen and (max-width:767px){
padding: 1.5rem;
}
background-repeat: no-repeat;
background-size: 30% auto;
background-position: 0% center;
.upzee{
position: relative;
z-index: 9;
}
.yellowback{
background: $yellow;
position: relative;
z-index: 1;
@media screen and (max-width:767px){
margin-top: -5em;
padding-top: 5em;
}
h3,h4{
color: $black;
}
.titlescontent{
@media screen and (min-width:768px){
padding: 2em 3em 2em 2em;
}
@media screen and (max-width:767px){
padding: 1em;
}
h3{
@include blackheaderyellowline;
}
.contento{
p{
margin-bottom: 0.5em;
color: $black;
}
}
}
}
.yellowback:before{
content: '';
left: -100em;
width: 100em;
height: 100%;
top:0;
position: absolute;
background: $yellow;
z-index: -1;
}
.mobcaringimage{
@media screen and (min-width:768px){
height: 31em;
}
@media screen and (max-width:767px){
height: 21em;
margin: 1.5em;
}
}
}
</style>
<section class="bustoutphotoleftsection">
<div class="container">
<div class="columns is-marginless level">
<div class="column is-4"><div class="overpic backhammer upzee mobcaringimage" style="background-image: url(https://images.pexels.com/photos/1132278/pexels-photo-1132278.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);"><img class="hideo" src="https://images.pexels.com/photos/1132278/pexels-photo-1132278.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" alt=""></div></div>
<div class="column is-8 yellowback">
<div class="titlescontent">
<div class="columns is-marginless">
<div class="column is-full is-paddingless">
<div class="contento"><h3>Your Title</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> </div> </div>
</div>
</div>
</div>
</div>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment