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="container">
<div class="shape">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 950 250">
<clipPath id="clip">
<path fill="#ED1E79" d="M140 0s40 36 0 125 0 125 0 125h810V0H140z"/>
</clipPath>
<path id="shape" fill="none" d="M140 125c40-89 0-125 0-125H0v250h140s-40-36 0-125z"/>
</svg>
</div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Venenatis cras sed felis eget. Adipiscing elit duis tristique sollicitudin nibh sit amet commodo. Nullam eget felis eget nunc lobortis mattis. Elit duis tristique sollicitudin nibh sit. Lorem donec massa sapien faucibus et molestie ac feugiat sed. Porta non pulvinar neque laoreet suspendisse interdum consectetur. Diam in arcu cursus euismod quis viverra. Morbi tempus iaculis urna id. Facilisis leo vel fringilla est. Tristique risus nec feugiat in fermentum posuere urna nec tincidunt. Lorem dolor sed viverra ipsum nunc aliquet bibendum enim.</p>
<p>Ultricies leo integer malesuada nunc. Sit amet est placerat in egestas erat imperdiet sed euismod. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque habitant. Porttitor leo a diam sollicitudin. Blandit libero volutpat sed cras ornare arcu dui. Nisi porta lorem mollis aliquam ut. Augue lacus viverra vitae congue eu consequat ac. Cras ornare arcu dui vivamus arcu felis bibendum. Duis convallis convallis tellus id interdum velit laoreet. Vel quam elementum pulvinar etiam non quam lacus suspendisse faucibus. Ornare aenean euismod elementum nisi. Ullamcorper eget nulla facilisi etiam. Id diam vel quam elementum.</p>
</div>
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
background: linear-gradient(45deg, #6200EA, #BA68C8);
}
.container {
max-width: 950px;
background-color: #F9A825;
clip-path: url(#clip);
}
.shape {
float: left;
width: 950px;
height: 250px;
shape-outside: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85648/curved-shape.svg);
}
Also see: Tab Triggers