<div class="service-grid-b">
                    <div class="service-photo-cont">
                        <div class="service-photo-title-a"><p class="service-photo-text-aa">PHOTOGRAPHY</p></div>
                        <div class="service-photo-text-b"><p class="service-photo-text-bb">Lorem ipsum dolor sit amet, consectetur adipiscing 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 class="service-crea-cont">
                        <div class="service-crea-title-a"><p class="service-crea-text-aa">CREATIVITY</p></div>
                        <div class="service-crea-text-b"><p class="service-crea-text-bb">Lorem ipsum dolor sit amet, consectetur adipiscing 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 class="service-web-cont">
                        <div class="service-web-title-a"><p class="service-web-text-aa">WEB DESIGN</p></div>
                        <div class="service-web-text-b"><p class="service-web-text-bb">Lorem ipsum dolor sit amet, consectetur adipiscing 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>



<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
.service-grid-b {
  position: relative;
}
.service-photo-text-aa {
  display: flex;
  color: #333333;
  font-family: Montserrat-bold;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  text-transform: uppercase;
  align-items: center;
  padding-left: 61px;
}
.service-photo-title-a {
  display: flex;
  width: 100%;
  height: 60px;
  border: 1px solid #e5e5e5;
  cursor: pointer;
}
.service-photo-text-b {
  width: 100%;
  height: 181px;
  border: 1px solid #e5e5e5;
  display: none;
}
.service-photo-text-bb {
  width: 525px;
  height: 132px;
  color: #999999;
  font-family: "Roboto - Light Italic";
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 24px;
  text-align: left;
  padding-top: 20px;
  padding-left: 20px;
}
.service-photo-text-aa::before {
  position: absolute;
  content: '';
  width: 22px;
  height: 12px;
  background-image: url(https://www.sigtarp.gov/SiteAssets/template/img/angle-arrow-down.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-left: 80%;
  transform: rotate(0deg);
}
.service-photo-text-aa::before:active{
  position: absolute;
  content: '';
  transform: rotate(40deg);
}
.service-crea-text-aa {
  display: flex;
  color: #333333;
  font-family: Montserrat-bold;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  text-transform: uppercase;
  align-items: center;
  padding-left: 61px;
}
.service-crea-title-a {
  display: flex;
  width: 100%;
  height: 60px;
  border: 1px solid #e5e5e5;
  cursor: pointer;
}
.service-crea-text-b {
  width: 100%;
  height: 181px;
  border: 1px solid #e5e5e5;
  display: none;
}
.service-crea-text-bb {
  width: 525px;
  height: 132px;
  color: #999999;
  font-family: "Roboto - Light Italic";
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 24px;
  text-align: left;
  padding-top: 20px;
  padding-left: 20px;
}

.service-web-text-aa {
  display: flex;
  color: #333333;
  font-family: Montserrat-bold;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  text-transform: uppercase;
  align-items: center;
  padding-left: 61px;
}
.service-web-title-a {
  display: flex;
  width: 100%;
  height: 60px;
  border: 1px solid #e5e5e5;
  cursor: pointer;
}
.service-web-text-b {
  width: 100%;
  height: 181px;
  border: 1px solid #e5e5e5;
  display: none;
}
.service-web-text-bb {
  width: 525px;
  height: 132px;
  color: #999999;
  font-family: "Roboto - Light Italic";
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 24px;
  text-align: left;
  padding-top: 20px;
  padding-left: 20px;
}
$(document).ready(function() {
    $('.service-photo-title-a').click(function(event){
        $(this).toggleClass('active').next().slideToggle(300);
    });
});

$(document).ready(function() {
    $('.service-crea-title-a').click(function(event){
        $(this).toggleClass('active').next().slideToggle(300);
    });
});

$(document).ready(function() {
    $('.service-web-title-a').click(function(event){
        $(this).toggleClass('active').next().slideToggle(300);
    });
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.