I want to add a banner strip here is my css
.certification-offer {
margin-top: 20px;
padding: 9px;
color: black;
border: 1px solid #ddd;
background-color: #fff !important;
width: max-content;
display: flex;
}
.certification-offer button {
background-color: #179BD7;
margin-left: 30px;
}
.certification-offer p {
font-size: 11px;
font-weight: 800;
}
.certification-offer p span {
font-size: 13px;
font-weight: 800;
}
.certification-image-section {
margin-top: 20px;
}
.certification-offer .btn {
border-radius: 10px;
font-size: 12px;
}
.certification-offer .btn:hover,
.certification-offer .btn:active {
border: #fff;
outline: none;
}
@media screen and (min-width:400px) and (max-width:768px) {
.certification-offer p {
font-size: 9px;
font-weight: 700;
}
.certification-offer p span {
font-size: 11px;
font-weight: 800;
}
.certification-offer {
display: block;
}
.certification-offer button {
background-color: #179BD7;
margin-left: 0px;
}
}
@media screen and (min-width:300px) and (max-width:399px) {
.certification-offer p {
font-size: 8px;
font-weight: 700;
}
.certification-offer p span {
font-size: 9px;
font-weight: 800;
}
.certification-offer {
display: block;
}
.certification-offer button {
background-color: #179BD7;
margin-left: 0px;
}
}
<div class="certification-offer">
<p> Prepare for certification with company Courses - <span>50% off!</span></p>
<button class="btn" popuptitle="Register Now" data-toggle="modal" data-target="#registernow">REGISTER NOW</button>
</div>
Top comments (0)