CodePen probably won't work great in Internet Explorer 11. We generally only support the recent versions of major browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk!
You can! PRO members can use Debug View without logging in. You can also Export your Pen or Project to test a local copy on legacy browsers.
If you think you're seeing this message in error, email us at support@codepen.io and let us know your browser and version.
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.
Visit your global Editor Settings.
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.
<figure>
<figcaption>Check out the code to see how these colors were authored! Trusty <a href="https://preset-env.cssdb.org/features#color-functional-notation">postcss-preset-env</a> converts for older browsers, it's otherwise <b>ready today!</b></figcaption>
</figure>
/* you probably don't need PostCSS for color-level-4 functional notation */
@use postcss-preset-env {
stage: 0;
}
body {
background-image: linear-gradient(hsl(270 50% 40%), hsl(328 100% 54%));
min-height: 100vh;
display: grid;
place-content: center;
font-family: system-ui;
}
figure {
width: 50vmin;
height: 50vmin;
background: hsl(0 0% 0% / 20%);
display: flex;
align-items: flex-end;
& > figcaption {
width: 100%;
padding: 1rem;
background: hsl(0 0% 100% / 10%);
color: white;
font-size: 1.3rem;
font-weight: lighter;
line-height: 1.75;
& > a {
font-weight: bold;
color: hsl(328 100% 54%);
}
}
}
Also see: Tab Triggers