Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"mobile"
Bootstrap 3.0.0 Snippet by
evarevirus
3.0.0
Preview
HTML
View Full Screen
Fork
Fork this
1.6K
 
1 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/ElenaDi07/pen/rLJmAo?depth=everything&order=popularity&page=68&q=mobile&show_forks=false" /> <link rel='stylesheet prefetch' href='https://res.cloudinary.com/lenadi07/raw/upload/v1468859092/forCodePen/owlPlugin/owl.theme.css'><link rel='stylesheet prefetch' href='https://res.cloudinary.com/lenadi07/raw/upload/v1468859078/forCodePen/owlPlugin/owl.carousel.css'> <style class="cp-pen-styles">*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; } html, body { font-size: 62%; } body { background: #bde2f6; } .device { position: absolute; left: 50%; top: 50%; margin-left: -15.5rem; margin-top: -20rem; width: 31rem; background: #ffffff; font-family: "Open Sans", Helvetica, Arial, sans-serif; -webkit-box-shadow: -1px 24px 41px -6px rgba(0,0,0,0.27); -moz-box-shadow: -1px 24px 41px -6px rgba(0,0,0,0.27); box-shadow: -1px 24px 41px -6px rgba(0,0,0,0.27); } /* start section css */ /* first div */ .planet { margin: 40px; position: relative; width: 400px; height: 200px; background-image: url("https://res.cloudinary.com/lenadi07/image/upload/v1468859826/forCodePen/mobileSlider/firstSlider/background.png"); background-size: contain; background-repeat: no-repeat; background-position: left top; } img.main_pictures { width: 40%; margin-left: 30px; } /* second div */ .mountains{ margin: 40px; position: relative; width: 400px; height: 200px; right: 20px; } .mountains_img { width: 67%; } /* third div */ .paper{ margin: 30px; position: relative; width: 400px; height: 220px; } .paper_img { width: 60%; } .border { position: absolute; top: 30px; left: 3px; width: 320px; } .lines { position: absolute; top: 88px; width: 33%; left: 64px; } /* END MAIN IMAGES */ .orbit_1 { position: absolute; top: 26px; left: 33px; width: 230px; height: auto; z-index: 2; } .orbit_2 { position: absolute; top: 23px; right: 14px; width: 240px; height: 200px; z-index: 1; } img.pictures { width: 90%; } .animation { animation: orbit 10s ease-in infinite; } /* animation orbit 1 */ @-webkit-keyframes orbit { 0% { -webkit-transform: rotate(0deg); } 40% {-webkit-transform: rotate(180deg); } 50% {-webkit-transform: rotate(80deg); } 70% {-webkit-transform: rotate(180deg); } 100% { -webkit-transform: rotate(0deg); } } @keyframes orbit { 0% { transform: rotate(0deg); } 40% {transform: rotate(180deg); } 50% {transform: rotate(80deg); } 70% {transform: rotate(180deg); } 100% { transform: rotate(0deg); } } .animation_2 { animation: orbit_2 3s ease-in-out infinite; } /*animation orbit 2 */ @keyframes orbit_2 { 0% { transform: rotate(0deg); } 50% {transform: rotate(-20deg); } 100% {transform: rotate(0deg); } } @-webkit-keyframes orbit_2 { 0% {-webkit-transform: rotate(0deg); } 50% {-webkit-transform: rotate(-20deg); } 100% {-webkit-transform: rotate(0deg); } } .animation_3 { animation: orbit_3 3s ease-out infinite; } /*animation orbit slide 2 */ @keyframes orbit_3 { 0% { transform: rotate(0deg); } 50% {transform: rotate(-20deg); } 100% {transform: rotate(0deg); } } @-webkit-keyframes orbit_3 { 0% {-webkit-transform: rotate(0deg); } 50% {-webkit-transform: rotate(-20deg); } 100% {-webkit-transform: rotate(0deg); } } /* MID */ .mid { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; height: 9rem; display: inline-block; } .mid h1 { text-align: center; color: #10638e; font-size: 18px; text-align: center; } .mid p { padding: 30px; text-align: center; font-size: 14px; color: #c9c9c9; } .paper_img { z-index: 1; } .lines { animation: lines_moves 1.5s ease-in-out infinite; z-index: 2; } @keyframes lines_moves { 0% {left: 64px; right: 0; } 50% { left: 69px; right: 25px; } 100% { left: 64px; right: 0; } } /* BTM */ .btm { position: relative; height: 10rem; } button { margin-top: 44px; background-color: #2196d4; color: #ffffff; text-align: center; width: 100%; border: none; height: auto; box-sizing: border-box; padding-top: 17px; padding-bottom: 17px; font-size: 18px; } </style></head><body> <div class="device"> <!--all window--> <div class="owl-carousel" id="owl-demo"> <div class="item"> <div class="planet"> <img class="main_pictures" src="https://res.cloudinary.com/lenadi07/image/upload/v1468859826/forCodePen/mobileSlider/firstSlider/main.png" alt="" /> </div> <div class="orbit_1 animation"> <img class="pictures" src="https://res.cloudinary.com/lenadi07/image/upload/v1468859826/forCodePen/mobileSlider/firstSlider/orbit_1.png" alt="" /> </div> <div class="orbit_2"> <img class="pictures animation_2" src="https://res.cloudinary.com/lenadi07/image/upload/v1468859826/forCodePen/mobileSlider/firstSlider/orbit_2.png" alt="" /> </div> <div class="mid"> <h1>Welkome to the Webmodeler</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </div> </div> <div class="item"> <div class="mountains"> <img class="mountains_img" src="https://res.cloudinary.com/lenadi07/image/upload/v1468860109/forCodePen/mobileSlider/secondSlider/main.png" alt="" /> </div> <div class="orbit_2"> <img class="pictures animation_3" src="https://res.cloudinary.com/lenadi07/image/upload/v1468860109/forCodePen/mobileSlider/secondSlider/orbit_1.png" alt="" /> </div> <div class="mid"> <h1>Welkome to the Webmodeler</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </div> </div> <div class="item"> <div class="paper"> <img class="paper_img" src="https://res.cloudinary.com/lenadi07/image/upload/v1468860233/forCodePen/mobileSlider/thirdSlider/main_3.png" alt="" /> <img class="lines" src="https://res.cloudinary.com/lenadi07/image/upload/v1468860233/forCodePen/mobileSlider/thirdSlider/lines.png" alt="" /> </div> <div class="border"> <img class="pictures" src="https://res.cloudinary.com/lenadi07/image/upload/v1468860232/forCodePen/mobileSlider/thirdSlider/border.png" alt="" /> </div> <div class="mid"> <h1>Welkome to the Webmodeler</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </div> </div> </div> <div class="btm customNavigation"> <button type="button" name="button"><a class="btn next">Next</a></button> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://code.jquery.com/jquery-2.2.4.min.js'></script><script src='https://res.cloudinary.com/lenadi07/raw/upload/v1468858437/forCodePen/owlPlugin/owl.carousel.min.js'></script> <script >$(document).ready(function() { var owl = $("owl-demo"); $("#owl-demo").owlCarousel({ navigation : false, // Show next and prev buttons slideSpeed : 300, paginationSpeed : 400, singleItem: true }); $(".next").click(function(){ $("#owl-demo").trigger("owl.next"); }) }); //# sourceURL=pen.js </script> </body></html>
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76