if you want to tell something about your company or yourself you can use this feature box. It can’t be easier! The only thing you need to do is to use the markup you can see down below.
HTML markup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<div class="ct-feature-box"> <div class="ct-feature-box__header"> <h2 class="ct-feature-box__heading">How We<b>Behave</b></h2> </div> <div class="ct-feature-box__inner"><span class="ct-feature-box__number">/01</span> <div class="ct-feature-box__image"> <div class="inner"><img src="assets/images/demo-content/feature-01.png" alt="How We Behave"/></div> </div> <h4 class="ct-feature-box__title">Our commitment to excellence</h4> <div class="ct-feature-box__content"> <p>Is demonstrated most meaningfully in the examples we set for each other and our young guests. </p> <div class="ct-feature-box__hidden ct-js-hidden"> <div class="inner"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing 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> <button class="btn btn-motive" data-alternate-text="Show Less">Read More </button> </div> </div> |
Screenshots
JavaScript
1 2 3 4 5 6 7 8 9 10 |
/* Party Read More */ (read_more_wrapper = function() { var box; box = $('.ct-party-box--simple, .ct-feature-box'); if (box.length) { return box.each(function() { return show_more($(this)); }); } })(); |
You can find this code on path:
<script src=”../assets/js/slick/js/main.js”></script>