"exercixe010"
Bootstrap 3.3.0 Snippet by okebro

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Add or remove "with-glare" class. Removing the glare makes the screen interactive --> <div class="css-mb with-glare"> <div class="mb-display-position"> <div class="mb-display"> <div class="mb-screen-position"> <div class="mb-screen"> <!-- Image --> <div class="css-carousel"> <img class="css-img" src="http://rumart.weebly.com/files/theme/001.jpg" /> <img class="css-img" src="http://rumart.weebly.com/files/theme/002.jpg" /> <img class="css-img" src="http://rumart.weebly.com/files/theme/003.jpg" /> <img class="css-img" src="http://rumart.weebly.com/files/theme/004.jpg" /> <img class="css-img" src="http://rumart.weebly.com/files/theme/005.jpg" /> <img class="css-img" src="http://rumart.weebly.com/files/theme/006.jpg" /> </div> <!-- <Image --> </div> </div> </div> </div> <div class="mb-body"></div> <div class="mb-bottom-cover"></div> </div>
.css-carousel { width: 100%; height: 100%; /* Height of images */ position: relative; overflow: hidden; } .css-carousel .css-img { width: 100%; height: 100%; position: absolute; left: 0; right: 0; opacity: 0; -webkit-animation: css-carousel-fade 30s linear infinite; -moz-animation: css-carousel-fade 30s linear infinite; -ms-animation: css-carousel-fade 30s linear infinite; animation: css-carousel-fade 30s linear infinite; } .css-carousel .css-img:nth-child(2) { -webkit-animation-delay: 5s; -moz-animation-delay: 5s; -ms-animation-delay: 5s; animation-delay: 5s; } .css-carousel .css-img:nth-child(3) { -webkit-animation-delay: 10s; -moz-animation-delay: 10s; -ms-animation-delay: 10s; animation-delay: 10s; } .css-carousel .css-img:nth-child(4) { -webkit-animation-delay: 15s; -moz-animation-delay: 15s; -ms-animation-delay: 15s; animation-delay: 15s; } .css-carousel .css-img:nth-child(5) { -webkit-animation-delay: 20s; -moz-animation-delay: 20s; -ms-animation-delay: 20s; animation-delay: 20s; } .css-carousel .css-img:nth-child(6) { -webkit-animation-delay: 25s; -moz-animation-delay: 25s; -ms-animation-delay: 25s; animation-delay: 25s; } @-webkit-keyframes css-carousel-fade { 0%, 20%, 100% { opacity: 0; } 5%, 15% { opacity: 1;} } @-moz-keyframes css-carousel-fade { 0%, 20%, 100% { opacity: 0; } 5%, 15% { opacity: 1;} } @-ms-keyframes css-carousel-fade { 0%, 20%, 100% { opacity: 0; } 5%, 15% { opacity: 1;} } @keyframes css-carousel-fade { 0%, 20%, 100% { opacity: 0; } 5%, 15% { opacity: 1;} } /* Macbook material - Responsive CSS MacBook Retina Mockup by Henri Peetsmann http://codepen.io/henripeetsmann/ */ .css-mb { max-width: 650px; /* Set the desired maximum width of the macbook */ min-width: 50px; /* Set the desired minimum width of the macbook */ margin: 0 auto; /* Align mockup to center */ } .css-mb div { box-sizing: border-box !important; /* Just in case */ } /* Center the display */ .css-mb .mb-display-position { width: 80%; margin: 0 auto; } /* The display */ .css-mb .mb-display { position: relative; width: 100%; height: 0; padding-bottom: 65.9442%; background: #373435; -webkit-border-top-left-radius: 3.5% 5.3075%; -moz-border-radius-topleft: 3.5% 5.3075%; border-top-left-radius: 3.5% 5.3075%; -webkit-border-top-right-radius: 3.5% 5.3075%; -moz-border-radius-toptight: 3.5% 5.3075%; border-top-right-radius: 3.5% 5.3075%; } /* Webcam */ /* Browser may not render a perfect circle */ .css-mb .mb-display:before { content: ''; display: block; position: absolute; top: 3%; left: 50%; width: 1%; height: 1.5164%; margin-left: -0.5%; border-radius: 50%; background: #525252; } /* Glare */ /* Browser may not render the top and right offset evenly */ .css-mb .mb-display:after { content: ''; display: none; position: absolute; right: 0.4%; top: 0.64%; width: 62.5%; height: 100%; background: none; /* Hide the gradient on older browsers */ background: -moz-linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* FF3.6+ */ background: -webkit-linear-gradient(36deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* Chrome10+ and Safari5.1+ compute the degree differently */ background: -o-linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* Opera 11.10+ */ background: -ms-linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); /* IE10+ */ background: linear-gradient(55deg, rgba(0,0,0,0) 61%, rgba(255,255,255,0.05) 61%); -webkit-border-top-right-radius: 5.3075%; -moz-border-radius-toptight: 5.3075%; border-top-right-radius: 5.3075%; } /* Only show glare, if the class is applied */ .css-mb.with-glare .mb-display:after { display: block; } /* Position the screen and give make it the right size, ratio 16:10 */ .css-mb .mb-screen-position { position: absolute; top: 6.5%; width: 93.2%; left: 3.4%; height: 0; margin: 0; padding-bottom: 58.25%; /* Ratio */ } /* Give parent (this element) a "height", so that child elements can use height: 100%;*/ .css-mb .mb-screen { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; background: #4b4b4d; /* bg color if content is not big enough, or rendering is off */ } /* Iframe on the screen */ .css-mb .mb-screen iframe { width: 100%; height: 100%; border: 0; } /* Macbook body */ .css-mb .mb-body { position: relative; width: 100%; height: 0; padding-bottom: 2.3%; background: #e6e7e8; } /* The groove */ .css-mb .mb-body:before { content: ''; display: block; position: absolute; top: 0; left: 50%; width: 14.0740%; height: 0; padding-bottom: 1.4814%; margin-left: -7.037%; background: #a9abae; -webkit-border-bottom-left-radius: 7.0370% 50%; -moz-border-radius-bottomleft: 7.0370% 50%; border-bottom-left-radius: 7.0370% 50%; -webkit-border-bottom-right-radius: 7.0370% 50%; -moz-border-radius-bottomtight: 7.0370% 50%; border-bottom-right-radius: 7.0370% 50%; } /* Macbook bottom */ .css-mb .mb-bottom-cover { width: 100%; height: 0; padding-bottom: 0.7407%; background: #a9abae; -webkit-border-bottom-left-radius: 12% 600%; -moz-border-radius-bottomleft: 12% 600%; border-bottom-left-radius: 12% 600%; -webkit-border-bottom-right-radius: 12% 600%; -moz-border-radius-bottomtight: 12% 600%; border-bottom-right-radius: 12% 600%; }

Related: See More


Questions / Comments: