Media sections


You can arrange your content with the following Media sections types:

 

HTML markup – for parallax

 

HTML markup – for kenburns

 

HTML markup – for video

 

Description

data-type – determines the type of media section
data-height – determines the height of media section
data-background – this attribute allows you to insert image for desktop devices
data-background-mobile – this attribute allows you to insert image for mobile devices

 

JavaScript

<script src=”../assets/js/ct-mediaSection/js/smoothScroll.js”></script>
<script src=”../assets/js/ct-mediaSection/js/jquery.stellar.min.js”></script>
<script src=”../assets/js/ct-mediaSection/js/media-section.js”></script>