Our care section
by kontrach
HTML
<section id="our-care">
<h2>We will care about everything that you need</h2>
<ul>
<li class="our-care-item medical-reminders">
<div class="img-container">
<img src="img/green_bg_icons/1.png" alt="" title="">
</div>
<div class="text">
<h3>Medication Reminders</h3>
<p>Medication pick-up and reminders to take pills, drink water or other daily wellness issues</p>
</div>
</li>
<li class="our-care-item staying-active">
<div class="img-container">
<img src="img/green_bg_icons/2.png" alt="" title="">
</div>
<div class="text">
<h3>Staying Active</h3>
<p>Special support for keeping you moving. We are ready to help you with making special physical exercises, as well as going for a walk.</p>
</div>
</li>
<li class="our-care-item groceries">
<div class="img-container">
<img src="img/green_bg_icons/3.png" alt="" title="">
</div>
<div class="text">
<h3>Groceries & Cooking Meals</h3>
<p>Shoping to your favorite groceries and preparing healthy food to suit any specific diet.</p>
</div>
</li>
<li class="our-care-item housekeeping">
<div class="img-container">
<img src="img/green_bg_icons/7.png" alt="" title="">
</div>
<div class="text">
<h3>Light Housekeeping</h3>
<p>Doing laundry, taking out the trash or performing some seasonal tasks.</p>
</div>
</li>
<li class="our-care-item transportation">
<div class="img-container">
<img src="img/green_bg_icons/4.png" alt="" title="">
</div>
<div class="text">
<h3>Transportation & Transitional Care</h3>
<p>Get anywhere you need right in time in a comfortable car with an experienced driver.</p>
</div>
</li>
<li class="our-care-item companionship">
<div class="img-container">
<img src="img/green_bg_icons/5.png" alt="" title="">
</div>
...
CSS
#our-care{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#51d35d+0,056958+100 */
background: #51d35d; /* Old browsers */
background: -moz-linear-gradient(-45deg, #51d35d 0%, #056958 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #51d35d 0%,#056958 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #51d35d 0%,#056958 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#51d35d', endColorstr='#056958',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#our-care h2{
color: #fff;
font-size: 40px;
padding-bottom: 30px;
}
#our-care ul{
display: flex;
flex-wrap: wrap;
width: 90%;
}
.our-care-item{
flex: 0 1 25%;
color: #fff;
display: flex;
justify-content: flex-start;
align-items: center;
}
.our-care-item .text {
padding: 14px;
}
.our-care-item .text h3{
font-size: 16px;
padding-bottom: 13px;
}
.our-care-item .text p{
font-size: 13px;
}
.our-care-item .img-container{
flex: none;
}
@media (min-width: 1000px) and (max-width: 1310px) {
.our-care-item{
flex: 0 1 33%;
}
}
@media (min-width:550px) and (max-width: 999px) {
.our-care-item{
flex: 0 1 50%;
}
#our-care h2{
font-size: 35px;
padding: 0 35px;
}
}
@media (max-width:549px) {
.our-care-item{
flex: 0 1 100%;
}
}
@media (max-width: 650px) {
#our-care h2{
font-size: 30px;
padding: 0 35px;
}
}