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.
HTML Settings
Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
<div class="outer-wrap">
<section class="content-wrap to-know">
<h2 class="to-know__h3">It's good to know</h2>
<div class="row">
<div class="col-1-of-4 col-1-of-4--center">
<img src="/_/img/home/guarantee.jpg" alt="Our Guarantees">
<h4 class="to-know__h4">Our Guarantees</h4>
<p class="to-know__copy">Jay-Be<sup>®</sup> products are built to last and for your peace of mind we now offer a Lifetime Frame Guarantee on all of our Folding and Sofa Beds.</p>
<a class="button-square to-know__link" href="#">Discover More</a>
</div>
<div class="col-1-of-4 col-1-of-4--center">
<img src="/_/img/home/where-to-buy.jpg" alt="Where to Buy">
<h4 class="to-know__h4">Where to Buy</h4>
<p class="to-know__copy">Some of the UK's most popular online retailers sell Jay-Be<sup>®</sup> Sleep Smart products. Find your favourite retailer on our Where to Buy page.</p>
<a class="button-square to-know__link" href="#">Find a Retailer</a>
</div>
<div class="col-1-of-4 col-1-of-4--center">
<img src="/_/img/home/support.jpg" alt="Support">
<h4 class="to-know__h4">Support</h4>
<p class="to-know__copy">We take great pride in making sure our customer care is second to none. If you need to contact us our friendly team are here to help.</p>
<a class="button-square to-know__link" href="#">Discover More</a>
</div>
<div class="col-1-of-4 col-1-of-4--center">
<img src="/_/img/home/tv.jpg" alt="Jay-Be® TV">
<h4 class="to-know__h4">Jay-Be<sup>®</sup> TV</h4>
<p class="to-know__copy">To help you find the right product, we’ve made all of our latest product videos available all in one place for easy viewing.</p>
<a class="button-square to-know__link" href="#">See in action</a>
</div>
</div>
</section>
</div><!-- outer-wrap -->
body{margin:0}html{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.15}*,*:before,*:after{-webkit-box-sizing:inherit;box-sizing:inherit}article,aside,footer,header,nav,section{display:block}button,input,select,textarea,optgroup{font-family:inherit;font-weight:400;line-height:1.15;margin:0}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.35em}label{cursor:pointer}input,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;resize:none;border-radius:0}textarea{overflow:auto;vertical-align:top;min-height:100%}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button}legend{padding:0}[type='number']::-webkit-inner-spin-button,[type='number']::-webkit-outer-spin-button{height:auto}[type='search']{-webkit-appearance:textfield;outline-offset:-2px}[type='search']::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.sleep-smart__h2,.to-know__h3{margin-bottom:3rem}.col-1-of-3--center,.col-1-of-4--center,.sleep-smart__h2,.sleep-smart__faux-link,.to-know__h3{text-align:center}.button-square{background:#252525;color:#fff;font-size:1.6rem;padding:1rem 0;display:block;margin:0 2.5rem}.outer-wrap{background:#fafafa;border-top:1px solid #e4e4e4}.outer-wrap::after{content:"";display:table;clear:both}.content-wrap{max-width:134.3rem;margin:3rem auto 5rem auto}.row{margin:0 2.5rem;background:gold}.row::after{content:"";display:table;clear:both}.col-1-of-3,.col-1-of-4{float:left}.col-1-of-3:not(:last-child),.col-1-of-4:not(:last-child){margin-right:2.5rem}.col-1-of-3{width:calc((100% - 2.5rem * 2)/3)}.col-1-of-4{width:calc((100% - 2.5rem * 3)/4);background:red}@media only screen and (max-width: 58em){.col-1-of-4{width:calc((100% - 2.5rem) / 2)}.col-1-of-4:nth-child(2){margin-right:0;margin-bottom:2.5rem;background:teal}.col-1-of-4:first-child{margin-bottom:2.5rem}}.col-1-of-3--folding-beds{float:right;overflow:hidden;margin-right:0 !important}.col-1-of-3--child-mattresses,.col-1-of-3--accessories{margin-bottom:2.5rem}.col-1-of-3__link--folding-beds{position:relative;display:block;height:0;padding-bottom:calc((55.36193% * 2) + (6rem * 2) + 2.5rem)}.sleep-smart__img--folding-beds{max-width:none;height:100%;position:absolute;right:0}.sleep-smart__title-box--folding-beds{position:absolute;left:0;right:0;bottom:0}.site-header{border-bottom:1px solid #e4e4e4;font-size:0}.site-logo{display:inline-block}.site-logo__img{width:760px;height:auto;position:absolute;left:-245px;top:-5px;z-index:50}.nav-upper{border-bottom:2px solid #049cb8}.nav-upper::after{content:"";display:table;clear:both}.nav-upper__list{font-size:1.5rem;float:right;margin-right:3rem}.nav-upper__item{position:relative;margin-right:3rem}.nav-upper__icon{width:22px;height:auto;position:absolute;right:-3rem;bottom:1.4rem}.nav-upper__link{padding:1.4rem 0;display:inline-block;position:relative}.nav-upper__link:before{content:"";position:absolute;width:100%;height:1px;bottom:12px;left:0;background-color:#049cb8;visibility:hidden;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 0.2s ease-in-out 0s;transition:all 0.2s ease-in-out 0s}.nav-upper__link:hover:before{visibility:visible;-webkit-transform:scaleX(1);transform:scaleX(1)}.nav-main__list{font-size:1.4rem;font-weight:500;text-transform:uppercase;text-align:center;margin-left:8rem}.nav-main__item{display:inline-block;padding:0 2rem}.nav-main__link{padding:2.1rem 0 2rem 0;display:inline-block;position:relative}.nav-main__link:before{content:"";position:absolute;width:100%;height:2px;bottom:15px;left:0;background-color:#049cb8;visibility:hidden;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 0.2s ease-in-out 0s;transition:all 0.2s ease-in-out 0s}.nav-main__link:hover:before{visibility:visible;-webkit-transform:scaleX(1);transform:scaleX(1)}.site-footer{background:#0d0d0d;height:600px;color:#fff}html{font-size:62.5%}@media only screen and (max-width: 37.5em){html{font-size:58%}}body{font-family:"Gotham A", "Gotham B", sans-serif;font-weight:400;color:#202020;-webkit-font-smoothing:subpixel-antialiased;letter-spacing:-0.06em}h1,h2,h3,h4,h5,h6{font-weight:400;margin:0}p{font-weight:300;margin:0}ul{list-style-type:none;margin:0;padding:0}a{text-decoration:none;color:currentColor}strong{font-weight:700}::-moz-selection{background:#202020;color:#fff;text-shadow:none}::selection{background:#202020;color:#fff;text-shadow:none}img{max-width:100%}.slider{height:200px;background:red url(/_/img/slider/folding-beds.jpg) center center no-repeat;background-size:cover}.icon-panel{background:#252525;color:#fff;text-align:center;padding:3rem}.icon-panel__h1{font-size:2.8rem}.icon-panel__list{max-width:96rem;height:100%;margin:2.5rem auto 0 auto;padding:0 2.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media only screen and (max-width: 37.5em){.icon-panel__list{-ms-flex-wrap:wrap;flex-wrap:wrap}}@media only screen and (max-width: 37.5em){.icon-panel__item{-ms-flex-preferred-size:50%;flex-basis:50%}.icon-panel__item:nth-child(-n+2){margin-bottom:2rem}}.icon-panel__icon{fill:#fff;width:auto;height:5.8rem}.icon-panel__text{display:block;font-size:1.4rem;margin-top:5px}.sleep-smart__h2{font-size:3.2rem}.sleep-smart__img{display:block}.sleep-smart__title-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#9f9fae;color:#fff}.sleep-smart__title-box--child-mattresses{background:#8ccdd9}.sleep-smart__title-box--accessories{background:#acbdbd}.sleep-smart__title-box--sofas{background:#b1aa9a}.sleep-smart__title-box--bespoke{background:#01213f}.sleep-smart__h3{padding-left:1.75rem;font-size:1.8rem}.sleep-smart__faux-link{height:6rem;padding:1.4rem 1.5rem;font-size:1.3rem;background:#252525}.sleep-smart__faux-link--bespoke{background:#d7cd88}.sleep-smart .col-1-of-3{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.sleep-smart .col-1-of-3:hover{-webkit-box-shadow:0 0 15px rgba(0,0,0,0.4);box-shadow:0 0 15px rgba(0,0,0,0.4);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.to-know__h3{font-size:3.2rem}.to-know__h4{font-size:2rem;padding:1rem 0 .5rem 0}.to-know__copy{font-size:1.4rem;line-height:1.8rem;padding-bottom:2.5rem}
Also see: Tab Triggers