join the fam mar 2022
by pj_js15
HTML
<div class="main-container">
<div class="join-the-fam">
<div class="header">
<div class="op-logo">OnePass</div>
</div>
<div class="section-one">
<h2>
Your pass to a world of benefits
</h2>
<p>
Your pass to a world of benefits including free delivery on thousands of items at Target, Kmart and Catch
</p>
<div class="brand-logos">brand logos</div>
</div>
<div class="section-two">
<div class="benefits">
<div class="ben-item">
<div class="item-img">
<img class="" src="/medias/sys_master/images/h8c/h92/h00/h00/8798133682206.png">
</div>
<div class="detail">
<h6>Free standard delivery</h6>
<p>Enjoy free delivery on thousands of eligible items*</p>
</div>
</div>
<div class="ben-item">
<div class="item-img">
<img class="" src="/medias/sys_master/images/hfc/h05/h00/h00/8798133747742.png">
</div>
<div class="detail">
<h6>Free click & collect</h6>
<p>Enjoy free click & collect on thousands of eligible items*</p>
</div>
</div>
<div class="ben-item">
<div class="item-img">
<img class="" src="/medias/sys_master/images/hc1/h1b/h00/h00/8798133780510.png">
</div>
<div class="detail">
<h6>Exclusive Target offers</h6>
<p>Access to exclusive weekly deals</p>
</div>
</div>
<div class="ben-item">
<div class="item-img">
<img class="" src="/medias/sys_master/images/h29/hfb/h00/h00/8798133714974.png">
</div>
<div class="detail">
<h6>All-in-one account</h6>
<p>One easy account and log in across our brands</p>
</div>
</div>
</div>
<hr />
</div>
<div class="section-three">
<h5>
Sign up, cancel anytime
...
SCSS
.join-the-fam {
width: 375px;
border: 1px solid red;
color: #3A006A;
font-family: Arial;
padding-bottom: 50px;
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #4A0088;
padding: 0;
width: 80%;
margin: 0 auto;
}
.header {
background-color: #9900F1;
height: 57px;
padding-top: 30px;
.op-logo {
color: #FFF;
margin: 0 auto;
font-size: 25px;
text-align: center;
}
}
.section-one {
padding: 0 40px;
h2 {
text-align: center;
font-style: normal;
font-weight: bold;
font-size: 24px;
line-height: 32px;
margin-bottom: 10px;
}
p {
text-align: center;
font-weight: 500;
font-size: 14px;
line-height: 20px;
margin-top: 0;
}
.brand-logos {
border: 1px solid red;
height: 50px;
margin-bottom: 25px;
}
}
.section-two {
.benefits {
display: flex;
flex-wrap: nowrap;
justify-content: center;
margin: 0 0 8px 0;
flex-flow: row wrap;
width: unset;
.ben-item {
margin: 10px;
min-width: 200px;
flex: 0 0 auto;
display: flex;
height: 80px;
width: 330px;
.item-img {
//background: transparent img-url-common("Exclusive.svg") no-repeat;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
margin: 0 auto;
margin-top: 12px;
margin-left: 20px;
height: 50px;
width: 50px;
border: 1px solid gray;
}
.detail {
text-align: center;
color: purple;
width: 70%;
h6 {
//font-family: $montserratFontSemiBold;
font-weight: 700;
font-size: 14px;
margin: 10px 5px 5px 5px;
...