Service Section Development

Markup

<div class="section-padding">
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="section-heading">
                    <h2>Our Services</h2>
                    <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore.</p>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4 col-sm-4">
                <div class="single-service-box">
                    <div class="service-box-bg service-box-bg-1">
                        <h2>Mechanical Engineering</h2>
                    </div>
                    <div class="service-box-content">
                        <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros</p>
                    </div>
                    <a class="service-readmore" href="">Read more <i class="fa fa-long-arrow-right"></i></a>
                </div>
            </div>
            <div class="col-md-4 col-sm-4">
                <div class="single-service-box">
                    <div class="service-box-bg service-box-bg-2">
                        <h2>Mechanical Engineering</h2>
                    </div>
                    <div class="service-box-content">
                        <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros</p>
                    </div>
                    <a class="service-readmore" href="">Read more <i class="fa fa-long-arrow-right"></i></a>
                </div>
            </div>
            <div class="col-md-4 col-sm-4">
                <div class="single-service-box">
                    <div class="service-box-bg service-box-bg-3">
                        <h2>Mechanical Engineering</h2>
                    </div>
                    <div class="service-box-content">
                        <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros</p>
                    </div>
                    <a class="service-readmore" href="">Read more <i class="fa fa-long-arrow-right"></i></a>
                </div>
            </div>
            
        </div>
    </div>
</div>

Style

/* Base CSS */
.alignleft {
    float: left;
    margin-right: 15px;
}
.alignright {
    float: right;
    margin-left: 15px;
}
.aligncenter {
    display: block;
    margin: 0 auto 15px;
}
a:focus { outline: 0 solid }
img {
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px;
    font-weight: 700;
}
body {

}
a:hover { text-decoration: none }

.service-box-bg-1 {background-image: url(../img/service-bg-1.jpg)}
.service-box-bg-2 {background-image: url(../img/service-bg-2.jpg)}
.service-box-bg-3 {background-image: url(../img/service-bg-3.jpg)}

.section-padding {
    padding: 80px 0;
}
.section-heading {
    margin-bottom: 70px;
    text-align: center;
}
.section-heading h2 {
    font-size: 35px;
    font-weight: 400;
    text-transform: uppercase;
}

.single-service-box {
    border: 1px solid #ebebeb;
    text-align: center;
}
.service-box-bg {
    background-color: #ddd;
    background-position: center center;
    background-size: cover;
    height: 180px;
    position: relative;
}
.service-box-bg h2 {
    background: #f97230;
    bottom: -22px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    left: 9%;
    margin: 0;
    padding: 10px;
    position: absolute;
    text-align: center;
    width: 82%;
}
.service-box-content {
    font-size: 14px;
    font-weight: 500;
    line-height: 30px;
    padding: 50px 10px 20px 10px;
}
.service-box-content p:last-child {
    margin: 0;
}
.service-readmore {
    display: inline-block;
    color: #333;
    font-size: 15px;
    margin-bottom: 30px;
    font-weight: 600;
}
.service-readmore:hover {
  color: #333;
}
.service-readmore i.fa {
  transition: 0.3s
}
.service-readmore:hover i.fa {
  color: #f97230;
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.