JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
<div class="columns large-2 show-for-large-up">
<div class="animated-wrapper menu-wrapper">
<div class="animated-background">
<div class="block-out-box left height-100 width-10"></div>
<div class="block-out-box right height-100 width-10"></div>
<div class="block-out-circle"></div>
<div class="block-out-box circle-bottom"></div>
<div class="block-out-box mt-15 height-20 width-100"></div>
<div class="block-out-box mt-10 height-10 width-100"></div>
<div class="block-out-box mt-10 height-100 width-100"></div>
<div class="block-out-box height-100 width-100"></div>
<div class="block-out-box height-100 width-100"></div>
</div>
</div>
</div>
<div class="columns small-12 medium-12 large-10">
<div class="columns large-4 large-push-8 show-for-large-up">
<div class="animated-wrapper sidebar-wrapper">
<div class="animated-background">
<div class="block-out-box height-30 width-100"></div>
<div class="block-out-box mt-350 height-15 width-100"></div>
<div class="block-out-box mt-15 height-10 width-100"></div>
<div class="block-out-box height-10 width-30 right"></div>
<div class="block-out-box mt-10 height-50 width-100"></div>
</div>
</div>
</div>
<div class="columns hide-for-large-up">
<div class="animated-wrapper sidebar-mobile-wrapper">
<div class="animated-background">
<div class="small-8 medium-10 right">
<div class="block-out-box height-200 width-4 left"></div>
<div class="block-out-box mt-30 height-10 width-100"></div>
<div class="block-out-box height-10 width-40 right"></div>
<div class="block-out-box mt-10 height-150 width-100"></div>
</div>
</div>
</div>
</div>
<div class="columns large-8 large-pull-4">
<div class="section-tab small-8 medium-4"></div>
<div class="animated-wrapper metapanel-wrapper">
<div class="animated-background">
<div class="block-out-box height-10 width-100"></div>
<div class="block-out-box right height-30 width-40"></div>
<div class="block-out-box mt-30 height-10 width-100"></div>
<div class="block-out-box right height-10 width-70"></div>
<div class="block-out-box mt-10 height-40 width-100"></div>
<div class="block-out-box mt-200 height-60 width-100"></div>
</div>
</div>
<div class="section-tab small-8 medium-4"></div>
<div class="animated-wrapper update-wrapper">
<div class="animated-background">
<div class="block-out-box height-10 width-100"></div>
<div class="block-out-box right height-30 width-40"></div>
<div class="block-out-box mt-30 height-10 width-100"></div>
<div class="block-out-box right height-10 width-70"></div>
<div class="block-out-box mt-10 height-40 width-100"></div>
<div class="block-out-box mt-120 height-60 width-100"></div>
</div>
</div>
</div>
</div>
body {
background: #F2F2F2;
}
@for $i from 1 through 400 {
.mb-#{$i} {
margin-bottom: #{$i}px;
}
.mt-#{$i} {
margin-top: #{$i}px;
}
.ml-#{$i} {
margin-left: #{$i}px;
}
.width-#{$i} {
width: percentage($i/100);
}
.height-#{$i} {
height: #{$i}px;
}
}
@keyframes placeHolderShimmer{
0%{
background-position: 100% 0
}
100%{
background-position: 0 0
}
}
.animated-background {
animation-duration: 2s;
animation-fill-mode: forwards;
//animation-iteration-count: infinite;
animation-name: placeHolderShimmer;
animation-timing-function: linear;
background: #eeeeee;
background: linear-gradient(to right, #eeeeee 0%, #eeeeee 50%, #ffffff 75%);
background-size: 500% 100%;
height: 100%;
width: 100%;
position: relative;
}
.black-background {
background-color: black;
height: 500px;
width: 100%;
}
.animated-wrapper {
box-sizing: border-box;
padding: 10px 20px;
background-color: #fff;
overflow: hidden;
&.menu-wrapper {
width: 100%;
float: left;
}
&.update-wrapper {
width: 100%;
height: 300px;
}
&.sidebar-wrapper {
width: 100%;
height: 500px;
}
&.sidebar-mobile-wrapper {
width: 100%;
height: 150px;
margin-top: 20px;
}
}
.left {
float: left;
}
.right {
float: right;
}
.block-out-circle{
position:relative;
margin:20px auto 0;
width: 80%;
padding-top: 80%;
box-shadow: 0 0 0 50px #fff;
border-radius:50%;
}
.block-out-box {
background: #fff;
&.circle-bottom {
height: 50px;
width: 100%;
margin: 0px auto;
}
}
.section-tab {
background: #fff;
height: 40px;
margin-top: 30px;
}
.left-column {
width: 17%;
}
.middle-column {
width: 55%;
margin: 0 20px;
}
.right-column {
width: 25%;
}
.show-for-large-up {
display: none;
@media only screen and (min-width: 64.063em) {
display: block;
}
}
.hide-for-large-up {
display: block;
@media only screen and (min-width: 64.063em) {
display: none;
}
}
Also see: Tab Triggers