HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<input id="trigger" class="toggle-checkbox" type="checkbox"><label for="trigger">PC Loadletter</label>
<div class="z">
<svg fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 400 450">
<path fill="#91c1a3" fill-rule="nonzero" d="M207.83 264.33h-39.27v24.78h39.27z"/>
<path id="bicep" fill="#3d5070" fill-rule="nonzero" d="M120.18 215.08l-99.01-.3v-9.9h9.9v-9.92H41v-9.91h9.91v-9.91h9.91v-9.91h59.37v49.85z"/>
<path fill="#3d5070" fill-rule="nonzero" d="M59 214.75h109.51v9.94h9.6v9.9h9.9v9.92h9.91v9.9h9.91v9.92l-29.73.15v15.3h-9.62v-9.49l-9.36-.07v-5.64l-10.69.05v98.42H59.46l-.45-148.3z"/>
<path fill="#70443d" fill-rule="nonzero" d="M59.46 404.84v-74.13h88.97v24.25h.04v49.88H108.9V363.8h-9.9v41.04H59.46z"/>
<path fill="#2d2d2d" fill-rule="nonzero" d="M99.1 450H34.47v-38.08h25V400.7h39.65V450zM108.83 400.7h39.64v11.22h25V450h-64.64v-49.3z"/>
<path fill="#9cd3b3" fill-rule="nonzero" d="M158.28 276.72h49.55v29.73h-9.72v9.91h-20v-9.91h-9.55v-19.82h-10.28v-9.91z"/>
<path fill="#91c1a3" fill-rule="nonzero" d="M79.29 204.84h49.55v19.7H79.29z"/>
<g id="head">
<path fill="#4f2e13" fill-rule="nonzero" d="M159.18 36.39h10.65v19.7H81.62v-19.7h8.92v-9.91h68.64v9.9z" transform="translate(-21.17 49.52)"/>
<path fill="#9cd3b3" fill-rule="nonzero" d="M160.69 56.21h9.14v19.82h19.82v30.24h-10.39v29.23h-9.43v9.67h-9.15v10.15H140.6v9.9h-30.24v-9.9H90.54v-10.15h-9.9v-9.67h-9.92v-29.23h-9.94V76.03h19.85V56.21h9.91V46.3h70.14v9.91z" transform="translate(-21.17 49.52)"/>
<path fill="#fbeb8e" fill-rule="nonzero" d="M99 36h9v9h-9z" transform="matrix(3.6945 0 0 3.35988 -256.74 -5.32)"/>
<path fill="#fbeb8e" fill-rule="nonzero" d="M63 36h9v9h-9z" transform="matrix(3.27622 0 0 3.35988 -137.03 -5.32)"/>
<path id="mouth" fill="#758b7c" fill-rule="nonzero" d="M81 90h9v9h-9z" />
<path fill="#444445" fill-rule="nonzero" d="M63 45h9v9h-9zM108 36h9v9h-9z" transform="translate(0 76) scale(1.1012)"/>
<path fill="#4f2e13" fill-rule="nonzero" d="M135 27h9v9h-9zM45 27h9v9h-9z" transform="matrix(1.1012 0 0 4.36374 0 -12.1)"/>
<path fill="#2a0e00" d="M122.35 62.62c1.4-.31 3.7-.09 5.63-.01H163.76c.57.1 1 .56 1.02 1.14v.3l17.14 7.15.04 4.86h-2.18l-15-5.76v28.75a1.2 1.2 0 01-1.14 1.15h-35.66a1.2 1.2 0 01-1.14-1.15v-16.5h-3.5v16.5a1.2 1.2 0 01-1.15 1.15H86.54a1.2 1.2 0 01-1.15-1.15V70.46l-14.68 5.6h-2.68l.05-4.86 17.31-6.98v-.47a1.2 1.2 0 011.15-1.14H122.3l.04.01zM87.68 64.9v33h33.37v-33H87.68zm74.81 0h-33.36v33h33.36v-33zm-35.65 0h-3.5v15.36h3.5V64.9z" transform="translate(-21.17 49.52)"/>
<path fill="#91c1a3" fill-rule="nonzero" d="M90 54h9v9h-9z" transform="matrix(1.1012 0 0 3.27622 0 -41.46)"/>
</g>
<path fill="#2a0e00" d="M64.67 214.73h7.46V322.8h-7.46zM136.92 214.73h7.46V322.8h-7.46z"/>
<path fill="#70443d" d="M113.65 230.42h-3v6.12h-3.61v14.57h1.67v17.56h2.5v33.19h1.45v10.69h-1.45v1.51h-2.5v1.83h-1.67v1.81h-1.4v1.6h-2.94v-1.6h-1.39v-1.8h-1.67v-1.84h-2.36v-1.51h-1.45v-10.7h1.45v-33.18h2.36v-17.56h1.67v-14.57h-3.8v-6.12h-3v-6.97h19.14v6.97z"/>
<path fill="#fff" d="M73.86 225.8h7v2.14h5.56v2.68h10.7l.05-2.97 2.9-.04v-8H94.5v-2.67l-6.64.05v-3.58l-3.63.05v-5.38H73.86v17.71zM134.97 225.8h-7v2.14h-5.56v2.68h-10.7l-.05-2.97-2.9-.04v-8h5.56v-2.67l6.64.05v-3.58l3.63.05v-5.38h10.38v17.71z"/>
<path id="arm2" fill="#91c1a3" fill-rule="nonzero" d="M0 171h9v9H0z" />
<g id="cup">
<path fill="silver" d="M140.71 211.27v42.35h-32.33v-7.78H96.45a1.19 1.19 0 01-1.14-1.15v-23.8c.02-.63.51-1.12 1.14-1.15 3.98 0 7.95-.1 11.93-.12v-8.35h32.33zm-32.33 32.28v-21.52H97.6v21.52h10.78z" transform="translate(-23.8 49.51)"/>
<path fill="#fff" fill-rule="nonzero" d="M.5-.38H.37v.26h.38v-.13h.13v-.13H1V0H0v-.13h.13v-.24h.12V-.5h.13v-.25H.5v-.13h.13v-.24H.24V-1H.12v.13H0v-.38h1v.13H.87v.25H.76v.12H.62v.25H.5v.13z" transform="matrix(4.16667 0 0 4.16666 90.04 279.06)"/>
<path fill="#fff" fill-rule="nonzero" d="M.38-1.13v.25h.24v.13H.39v.63h.24V0H.26v-.13H.12v-.62H0v-.13h.13v-.24h.24z" transform="matrix(4.16667 0 0 4.16666 94.73 279.06)"/>
<path fill="#fff" fill-rule="nonzero" d="M.63-.5v-.13H.5v-.12H.37v.13H.26v.12h.38zm.12-.13h.13v.26H.24v.12h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v.13h.12v.13z" transform="matrix(4.16667 0 0 4.16666 97.85 279.06)"/>
<path fill="#fff" fill-rule="nonzero" d="M.75-.88v.13h.13v.13H.61v-.13H.39v.13H.24v.37h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5z" transform="matrix(4.16667 0 0 4.16666 102.02 279.06)"/>
<path fill="#fff" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-1H0v-.12h.38v.5H.5v-.13h.38v.13H1z" transform="matrix(4.16667 0 0 4.16666 106.18 279.06)"/>
</g>
<path id="forearm" fill="#9cd3b3" fill-rule="nonzero" d="M28.61 220.71h44.87v24.78H28.61z" />
<path id="hand" fill="#9cd3b3" fill-rule="nonzero" d="M66.71 252.87v-39.28h1.68v-2.32h18.83v2.32h9.23v9.54h5.9v20h-5.9v9.74H66.7z"/>
<path fill="#2d2d2d" fill-rule="nonzero" d="M59.46 322.8h88.97v9.91H59.46z"/>
<g id="words">
<path fill="#fff" d="M192 154.45v-42h11.59V99.99h13.13V87.5h11.83V75.9h135.08v11.6h11.84v12.48h13.13v12.48h11.59v75.99h-11.6v12.48h-13.12v12.48h-11.84V225H228.55v-11.59h-11.83v-12.48h-13.13v-12.48H192v-10.19h-24.72v-12.02h11.56v-11.8H192z"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.5-1v.26H.37v.24h.38v-.25H.62v-.24H.5zm.63.63v.24h.12V0h-.5v-.13h.13v-.24H.24v.24h.13V0H0v-.13h.13v-.24h.12v-.38h.13V-1H.5v-.25h.25V-1h.13v.25H1v.38h.13z" transform="matrix(13.33332 0 0 13.33337 242.76 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-1H0v-.12h.38v.5H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 261.1 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-1H0v-.12h.38v.5H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 277.76 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.25 0H.12v-.25h.26v.38H.24v.12H.12V.12h.13V0z" transform="matrix(13.33332 0 0 13.33337 294.43 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.5-1.25v.13H.37v1H.5V0H0v-.13h.13v-1H0v-.12h.5z" transform="matrix(13.33332 0 0 13.33337 309.43 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.25-1H.12v-.25h.26v.38H.24v.12H.12v-.13h.13V-1z" transform="matrix(13.33332 0 0 13.33337 317.76 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75h.24v-.13h.38v.13h.13v.63h.12V0h-.5v-.13h.13v-.62h-.25v.13H1v.5h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.12h.38v.12H.5v-.13h.38v.13z" transform="matrix(13.33332 0 0 13.33337 324.43 104.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.75-.75v.63h.13V0H.11v-.13H0v-.24h.13V-.5H.5v-.25H.12v-.13h.5v.13h.13zm-.5.63H.5v-.26H.25v.26z" transform="matrix(13.33332 0 0 13.33337 219.43 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-1.25v1.13H.5V0H0v-.13h.13v-1H0v-.12h.38z" transform="matrix(13.33332 0 0 13.33337 232.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.13-.88h.62v.26H.62v-.13H.26v.13h.13v.12h.24v.13h.13v.24H.62V0H0v-.25h.13v.13H.5v-.13H.37v-.13H.14V-.5H0v-.25h.13v-.13z" transform="matrix(13.33332 0 0 13.33337 241.1 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 252.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M0 .13h.25v.12h.38V0H.24v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.63V.25H.74v.13H.12V.24H0V.12zm.63-.88H.36v.13H.26v.37h.13v.13h.24v-.63z" transform="matrix(13.33332 0 0 13.33337 274.43 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 287.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-1.25V-1H.11v-.25h.26zm0 .38v.74H.5V0H0v-.13h.13v-.62H0v-.13h.38z" transform="matrix(13.33332 0 0 13.33337 302.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.13h.38v.13H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 311.1 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M0 .13h.25v.12h.38V0H.24v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.63V.25H.74v.13H.12V.24H0V.12zm.63-.88H.36v.13H.26v.37h.13v.13h.24v-.63z" transform="matrix(13.33332 0 0 13.33337 327.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-1.13v.25h.24v.13H.39v.63h.24V0H.26v-.13H.12v-.62H0v-.13h.13v-.24h.24z" transform="matrix(13.33332 0 0 13.33337 347.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 357.76 125.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.13h.38v.13H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 206.93 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.63-.5v-.13H.5v-.12H.37v.13H.26v.12h.38zm.12-.13h.13v.26H.24v.12h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v.13h.12v.13z" transform="matrix(13.33332 0 0 13.33337 223.6 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.63-.5v-.13H.5v-.12H.37v.13H.26v.12h.38zm.12-.13h.13v.26H.24v.12h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v.13h.12v.13z" transform="matrix(13.33332 0 0 13.33337 236.93 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-.13h.24v-.62H.39v.13H.24v.37h.13v.13zM.5-1.25h.38v1.13H1V0H.25v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v-.24H.5v-.13z" transform="matrix(13.33332 0 0 13.33337 250.26 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.5-.5v.25h.13V-.5h.12v-.25H.62v-.13H1v.13H.87v.25H.76v.25H.62V0H.5v.25H.37v.13H.14V.11h.24v-.37H.26V-.5H.12v-.25H0v-.13h.5v.13H.37v.25H.5z" transform="matrix(13.33332 0 0 13.33337 271.93 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 286.93 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.13h.13V0H.74v-.13H.62V0H.26v-.13H.12v-.62H0v-.13h.38v.76h.24v-.13h.13v-.5H.62v-.13H1v.76z" transform="matrix(13.33332 0 0 13.33337 301.93 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-1.13v.25h.24v.13H.39v.63h.24V0H.26v-.13H.12v-.62H0v-.13h.13v-.24h.24z" transform="matrix(13.33332 0 0 13.33337 325.26 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 335.26 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M0 .13h.25v.12h.38V0H.24v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.63V.25H.74v.13H.12V.24H0V.12zm.63-.88H.36v.13H.26v.37h.13v.13h.24v-.63z" transform="matrix(13.33332 0 0 13.33337 356.93 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 370.26 147.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.75-.75v.63h.13V0H.11v-.13H0v-.24h.13V-.5H.5v-.25H.12v-.13h.5v.13h.13zm-.5.63H.5v-.26H.25v.26z" transform="matrix(13.33332 0 0 13.33337 197.76 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-1H0v-.12h.38v.5H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 211.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.63-.5v-.13H.5v-.12H.37v.13H.26v.12h.38zm.12-.13h.13v.26H.24v.12h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v.13h.12v.13z" transform="matrix(13.33332 0 0 13.33337 227.76 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.75-.75v.63h.13V0H.11v-.13H0v-.24h.13V-.5H.5v-.25H.12v-.13h.5v.13h.13zm-.5.63H.5v-.26H.25v.26z" transform="matrix(13.33332 0 0 13.33337 241.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-.13h.24v-.62H.39v.13H.24v.37h.13v.13zM.5-1.25h.38v1.13H1V0H.25v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v-.24H.5v-.13z" transform="matrix(13.33332 0 0 13.33337 254.43 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.75-.75v.63h.13V0H.11v-.13H0v-.24h.13V-.5H.5v-.25H.12v-.13h.5v.13h.13zm-.5.63H.5v-.26H.25v.26z" transform="matrix(13.33332 0 0 13.33337 276.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.13h.38v.13H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 289.43 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-.13h.24v-.62H.39v.13H.24v.37h.13v.13zM.5-1.25h.38v1.13H1V0H.25v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v-.24H.5v-.13z" transform="matrix(13.33332 0 0 13.33337 306.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.75-.88v.13h.13v.13H.61v-.13H.39v.13H.24v.37h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5z" transform="matrix(13.33332 0 0 13.33337 327.76 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 341.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75h.24v-.13h.38v.13h.13v.63h.12V0h-.5v-.13h.13v-.62h-.25v.13H1v.5h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.12h.38v.12H.5v-.13h.38v.13z" transform="matrix(13.33332 0 0 13.33337 356.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.63-.5v-.13H.5v-.12H.37v.13H.26v.12h.38zm.12-.13h.13v.26H.24v.12h.13v.13h.24v-.13h.26v.13H.74V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v.13h.12v.13z" transform="matrix(13.33332 0 0 13.33337 381.1 168.36)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-1.25V-1H.11v-.25h.26zm0 .38v.74H.5V0H0v-.13h.13v-.62H0v-.13h.38z" transform="matrix(13.33332 0 0 13.33337 211.93 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.13h.38v.13H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 220.26 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 243.6 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.13h.38v.13H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 258.6 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.13-1.25h.74v.38H.76V-1H.62v-.13H.26v.25h.13v.13h.24v.13h.13v.12h.13v.38H.74V0H0v-.38h.13v.13h.12v.13h.38v-.26H.5V-.5H.25v-.13H.12v-.12H0v-.38h.13v-.12z" transform="matrix(13.33332 0 0 13.33337 281.93 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.13h.13V0H.74v-.13H.62V0H.26v-.13H.12v-.62H0v-.13h.38v.76h.24v-.13h.13v-.5H.62v-.13H1v.76z" transform="matrix(13.33332 0 0 13.33337 295.26 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M1-.75v.63h.13V0h-.5v-.13h.12v-.62H.5v.13H.37v.5H.5V0H0v-.13h.13v-.62H0v-.13h.38v.13H.5v-.13h.38v.13H1z" transform="matrix(13.33332 0 0 13.33337 311.93 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-.13h.24v-.62H.39v.13H.24v.37h.13v.13zM.5-1.25h.38v1.13H1V0H.25v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.38v-.24H.5v-.13z" transform="matrix(13.33332 0 0 13.33337 328.6 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.75-.75v.63h.13V0H.11v-.13H0v-.24h.13V-.5H.5v-.25H.12v-.13h.5v.13h.13zm-.5.63H.5v-.26H.25v.26z" transform="matrix(13.33332 0 0 13.33337 343.6 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.5-.5v.25h.13V-.5h.12v-.25H.62v-.13H1v.13H.87v.25H.76v.25H.62V0H.5v.25H.37v.13H.14V.11h.24v-.37H.26V-.5H.12v-.25H0v-.13h.5v.13H.37v.25H.5z" transform="matrix(13.33332 0 0 13.33337 356.93 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.25 0H.12v-.25h.26v.38H.24v.12H.12V.12h.13V0z" transform="matrix(13.33332 0 0 13.33337 371.93 189.7)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.38-1.13v.25h.24v.13H.39v.63h.24V0H.26v-.13H.12v-.62H0v-.13h.13v-.24h.24z" transform="matrix(13.33332 0 0 13.33337 271.93 211.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 281.93 211.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.88-.75v.13H1v.37H.87v.13H.76V0h-.5v-.13H.12v-.12H0v-.38h.13v-.12h.12v-.13h.5v.13h.13zm-.13.5v-.38H.62v-.12H.39v.13H.24v.37h.13v.13h.24v-.13h.13z" transform="matrix(13.33332 0 0 13.33337 296.93 211.03)"/>
<path fill="#1a1a1a" fill-rule="nonzero" d="M.13-.25h.25V0H.13z" transform="matrix(13.33332 0 0 13.33337 311.93 211.03)"/>
</g>
</svg>
</div>
<div class="logo"><a href="https://undead.institute" target="_blank"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1804713/UndeadInsti-LogoOnWhite.png" alt="Getting Braaains should be fun"></a></div>
.toggle-checkbox:checked ~ .z #cup {
animation: 6s ease-in-out 0s cup-animation forwards;
}
@keyframes cup-animation {
0%, 100% {
transform: translateY(0);
}
40%, 60% {
transform: translateY(-70px);
}
50% {
transform: translateY(-75px);
}
}
.toggle-checkbox:checked ~ .z #words {
animation: 6s steps(1, end) 0s showwords forwards;
}
@keyframes showwords{
from {
opacity:0;
}
to {
opacity: 1;
}
}
.toggle-checkbox:checked ~ .z #head {
animation: 6s ease-in-out 0s headmove forwards;
}
@keyframes headmove {
0%, 100% {
transform: translateY(0);
}
20%, 65% {
transform: translateY(0);
}
50% {
transform: translateY(5px);
}
}
.toggle-checkbox:checked ~ .z #mouth {
animation: 6s linear 0s mouthmove forwards;
}
@keyframes mouthmove {
0%, 100% {
transform: translate(-152px, 88px) scaleX(3);
}
45%, 55% {
transform: translate(-152px, 88px) scaleX(3);
}
46%, 54% {
transform: translate(20px, 88px) scaleX(1);
}
}
#mouth {
transform: translate(-152px, 88px) scaleX(3);
position: absolute;
}
.toggle-checkbox:checked ~ .z #hand {
animation: 6s ease-in-out 0.05s handmove forwards;
}
.toggle-checkbox:checked ~ .z #forearm {
animation: 6s ease-in-out 0.1s handmove forwards;
}
@keyframes handmove {
0%, 100% {
transform: translate(-18px, 50px);
}
40%, 60% {
transform: translate(-18px, -20px);
}
50% {
transform: translate(-18px, -25px);
}
}
#hand, #forearm {
transform: translate(-18px, 50px);
}
.toggle-checkbox:checked ~ .z #arm2 {
animation: 6s ease-in-out 0.15s arm2move forwards;
}
@keyframes arm2move {
0%, 100% {
transform: translate(0, -343px) scaleX(4) scaleY(3.55);
}
40%, 60% {
transform: translate(0 , -403px) scaleX(4) scaleY(3.55);
}
50% {
transform: translate(0, -408px) scaleX(4) scaleY(3.55);
}
}
#arm2 {
transform: translate(0,-343px) scaleX(4) scaleY(3.55);
}
.toggle-checkbox:checked ~ .z #bicep {
animation: 6s ease-in-out 0.1s bicepmove forwards;
}
@keyframes bicepmove {
0%, 100% {
transform: translate(-21px, 50px) scaleY(1);
}
10%, 90% {
transform: translate(-21px, 50px) scaleY(1);
}
40%, 60% {
transform: translate(-21px, 80px) scaleY(0.75);
}
50% {
transform: translate(-21px, 75px) scaleY(0.75);
}
}
#bicep {
transform: translate(-21px, 50px) scaleY(1);
}
#words {
opacity: 0;
}
.z {
width: 100%;
max-width: 400px;
margin: auto;
}
#cup {
transform-origin: 50% 50%;
}
body {
background-color: pink;
overflow: hidden;
}
.logo {
width: 100%;
max-width: 400px;
position: absolute;
top: 0;
right: 0;
}
.logo img {
width: 100%;
}
input{
display: none;
}
input:checked + label {
box-shadow: inset 3px 3px 2px #660000;
transform: translate(3px, 3px);
}
label {
font-size: 1.5em;
color: #FFF;
background-color: #960B0B;
width: 170px;
height: 30px;
text-align: center;
font-weight: bold;
display: block;
border-radius: 7px;
box-shadow: 3px 3px 0 #660000;
cursor: pointer;
}
Also see: Tab Triggers