How To Build VIMEO IFRAME Videos flexive to view Mobile and Web Browser Friendly

Its achievable with the help of following custom css styles and please add the below pieces of code in your html page:


.video-box {

-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4);  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4);  box-shadow: 0 1px 2px rgba(0,0,0,.4);  height: 0;  margin-bottom: 22px;  overflow: hidden;  padding-bottom: 56.25%;  position: relative;}.video-box embed,.video-box iframe,.video-box object,.video-box video {  height: 100%;  left: 0;  position: absolute;  top: 0;  width: 100%;



<div class=’video-box’><iframe src=”//″ height=”240″ width=”320″ allowfullscreen=”” frameborder=”0″></iframe></div>


Written by 

I am Sakthivel Madesh, a certified Salesforce Developer & Administrator working on Salesforce Technology since 2011. I am currently working in IBM Austraila as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 10 Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply