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
"iframe"
Bootstrap 3.0.0 Snippet by
evarevirus
3.0.0
Preview
HTML
View Full Screen
Fork
Fork this
1.8K
 
2 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/developdude/pen/FApCx?depth=everything&order=popularity&page=37&q=iframe&show_forks=false" /> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'><script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script> <style class="cp-pen-styles">@import url(http://weloveiconfonts.com/api/?family=entypo); html { height: 100%; width: 100%; *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FFFFFFFF', endColorstr='#FFB2B2B2'); background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IiIgcj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2IyYjJiMiIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background-size: 100%; background-image: -moz-radial-gradient(center, ellipse cover, #ffffff 0%, #b2b2b2 100%); background-image: -webkit-radial-gradient(center, ellipse cover, #ffffff 0%, #b2b2b2 100%); background-image: radial-gradient(ellipse cover at center, #ffffff 0%, #b2b2b2 100%); } .preload * { transition: none !important; } .close { position: absolute; z-index: 100; right: 20px; top: 20px; opacity: 0; cursor: pointer; -moz-transition: 1s; -o-transition: 1s; -webkit-transition: 1s; transition: 1s; } .close span { font-family: "entypo", sans-serif; width: 50px; height: 50px; border-radius: 50px; font-size: 20px; background-color: #2890c6; color: #fff; display: table-cell; vertical-align: middle; text-align: center; } .close.open { opacity: 1; -moz-transition: 1s; -o-transition: 1s; -webkit-transition: 1s; transition: 1s; } .container { width: 600px; margin: 0 auto; } .thumb { position: absolute; width: 200px; height: 250px; overflow: hidden; top: 10px; left: 50%; float: left; box-shadow: -3px 0px 10px #999999; cursor: pointer; -moz-transition: linear 1s; -o-transition: linear 1s; -webkit-transition: linear 1s; transition: linear 1s; } .thumb.thumb1 { margin-left: -215px; top: 30px; } .thumb.thumb2 { margin-left: 15px; top: 30px; } .thumb.thumb3 { margin-left: -215px; top: 310px; } .thumb.thumb4 { margin-left: 15px; top: 310px; } .thumb .overlay { position: absolute; top: 0; left: 0; width: 200px; height: 250px; background-color: rgba(40, 144, 198, 0.3); opacity: 0; -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb .webframe { position: absolute; z-index: 0; width: 1000px; height: 1300px; border: none; transform: scale(0.2); transform-origin: 0 0; -moz-transition: linear 0.5s; -o-transition: linear 0.5s; -webkit-transition: linear 0.5s; transition: linear 0.5s; } .thumb span { display: inline-block; z-index: 10; } .thumb .icon-wrapper { position: absolute; left: 50%; top: 50%; margin: -25px; } .thumb .icon-wrapper .icon { font-family: "entypo", sans-serif; width: 50px; height: 50px; border-radius: 50px; font-size: 20px; background-color: #b2b2b2; display: table-cell; vertical-align: middle; text-align: center; color: #fff; opacity: .3; -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb .title { position: absolute; width: 100%; padding: 3px 0px; bottom: 50px; font-size: 12px; text-align: center; font-weight: bold; color: #fff; text-shadow: 0px 1px 1px #4d4d4d; text-shadow: 1px 1px 6px #666666; text-transform: uppercase; opacity: 0; -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb .category { position: absolute; width: 100%; padding: 3px 0px; bottom: 30px; font-size: 12px; text-align: center; font-style: italic; color: #fff; text-shadow: 0px 1px 1px #4d4d4d; text-shadow: 1px 1px 6px #666666; text-transform: uppercase; opacity: 0; -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb:hover { box-shadow: -3px 2px 26px rgba(40, 144, 198, 0.5); -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb:hover .overlay { opacity: 1; -moz-transition: 0.5; -o-transition: 0.5; -webkit-transition: 0.5; transition: 0.5; } .thumb:hover .icon { background-color: #fff; color: #2890c6; opacity: .95; -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb:hover .title, .thumb:hover .category { opacity: 1; -moz-transition: 0.5s; -o-transition: 0.5s; -webkit-transition: 0.5s; transition: 0.5s; } .thumb.open { position: absolute; z-index: 99; width: 100%; height: 100%; top: 0; left: 0; background-color: none; box-shadow: none; margin: 0; } .thumb.open .overlay { display: none; } .thumb.open .webframe { position: absolute; z-index: 11; width: 100%; height: 100%; transform: scale(1); transform-origin: 100% 100%; -moz-transition: linear 1s; -o-transition: linear 1s; -webkit-transition: linear 1s; transition: linear 1s; } </style></head><body> <body class="preload"> <div class="close"><span></span></div> <div class="container"> <div class="thumb thumb1"> <iframe class="webframe" src="https://www.pandagotfiles.com" scrolling="no"></iframe> <div class="overlay"></div> <div class="icon-wrapper"> <span class="icon"></span> </div> <span class="title">the page title</span> <span class="category">News</span> </div> <div class="thumb thumb2"> <iframe class="webframe" src="https://www.hustlehard.de/stuff/social-media-concepter-doing-social-media-concepts" scrolling="no"></iframe> <div class="overlay"></div> <div class="icon-wrapper"> <span class="icon"></span> </div> <span class="title">the page title</span> <span class="category">Presentation</span> </div> <div class="thumb thumb3"> <iframe class="webframe" src="https://www.hustlehard.de" scrolling="no"></iframe> <div class="overlay"></div> <div class="icon-wrapper"> <span class="icon"></span> </div> <span class="title">the page title</span> <span class="category">Presentation</span> </div> <div class="thumb thumb4"> <iframe class="webframe" src="https://www.hustlehard.de/stuff/raining-fm-unwetter-in-eigenregie" scrolling="no"></iframe> <div class="overlay"></div> <div class="icon-wrapper"> <span class="icon"></span> </div> <span class="title">the page title</span> <span class="category">Presentation</span> </div> </div> </body> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script >;(function($){ $("body").removeClass("preload"); $('.thumb').click(function () { $(this).addClass('open'); $('iframe', this).attr('scrolling','yes'); $('.close').addClass('open'); }); $('.close').click(function () { $('iframe', this).attr('scrolling','no'); $('.open').removeClass('open'); }); })(jQuery); // Be aware of the Panda - www.pandagotfiles.com //# sourceURL=pen.js </script> </body></html>
Related:
See More
Free Template
Paper Kit 2 Angular
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76