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 URL's added here will be added as <link>
s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.
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.
If the stylesheet 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 CSS 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.
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 Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
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.
<svg version="1.1" id="banner" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="840px" height="250px" viewBox="0 0 840 250" style="enable-background:new 0 0 840 250;" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);}
.st1{fill:none;stroke:#D8D8D8;stroke-width:3;stroke-miterlimit:10;}
.st2{fill:#ABABAB;}
.st3{fill:none;stroke:#64BC46;stroke-width:8;stroke-miterlimit:10;}
.st4{fill:none;stroke:#FFFFFF;stroke-width:3;stroke-miterlimit:10;}
.st5{fill:#F2F2F2;}
.st6{fill:#B0B3B0;}
.st7{fill:#E2512F;}
.st8{fill:#EE6733;}
.st9{clip-path:url(#fiveMask_1_);fill:none;stroke:#ffffff;stroke-width:35;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st10{fill:#FFFFFF;}
</style>
<g transform="matrix( 1, 0, 0, 1, 0,0) ">
<g id="bg">
<g id="Layer2_0_FILL">
<radialGradient id="SVGID_1_" cx="243.6429" cy="251.95" r="283.2375" gradientTransform="matrix(2.8 0 0 -1 -497.4 316.95)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#2A3030"/>
<stop offset="1" style="stop-color:#231F20"/>
</radialGradient>
<path class="st0" d="M840,0H0v250h840V0z"/>
</g>
</g>
</g>
<g id="question">
<g id="item2">
<polygon class="st1" points="81.904,189.9 42.447,194.638 42.447,146.807 81.904,144.374 "/>
<g id="html5">
<g>
<path class="st2" d="M99.364,147.654v15.061l13.786-1.201v-14.788l3.636-0.245v35.171l-3.636,0.417v-16.57l-13.786,1.275v16.876
l-3.765,0.432v-36.173L99.364,147.654z"/>
<path class="st2" d="M128.085,149.522l-8.267,0.6v-3.846l19.808-1.335v3.744l-8.047,0.584v30.687l-3.493,0.4V149.522z"/>
<path class="st2" d="M163.64,161.807c-0.18-4.581-0.397-10.091-0.362-14.203l-0.108,0.008
c-0.832,3.932-1.849,8.133-3.087,12.808l-4.367,16.571l-2.446,0.28l-4.077-15.556c-1.206-4.638-2.226-8.908-2.946-12.86
l-0.076,0.006c-0.076,4.217-0.266,9.898-0.493,14.984l-0.685,14.574l-3.174,0.364l1.801-34.11l4.216-0.284l4.316,15.913
c1.043,4.025,1.897,7.612,2.528,11.014l0.111-0.012c0.629-3.43,1.515-7.177,2.619-11.477l4.383-16.379l4.006-0.27l1.504,32.683
l-3.05,0.35L163.64,161.807z"/>
<path class="st2" d="M172.059,142.756l3.052-0.206v28.904l9.914-1.086v3.46l-12.966,1.486V142.756z"/>
<path class="st2" d="M200.083,145.409l-8.141,0.605l-0.832,7.906c0.5-0.137,0.965-0.27,1.761-0.338
c1.653-0.142,3.298,0.23,4.608,1.233c1.663,1.199,3.026,3.67,3.026,7.467c0,5.882-3.287,10.661-7.932,11.197
c-2.363,0.273-4.374-0.439-5.417-1.264l0.741-3.246c0.907,0.656,2.68,1.403,4.643,1.187c2.742-0.303,5.07-3.072,5.07-7.119
c-0.032-3.904-1.868-6.529-6.167-6.141c-1.234,0.112-2.203,0.388-3.009,0.602l1.407-14.81l10.242-0.707V145.409z"/>
</g>
</g>
<polyline id="check" class="st3" points="50.088,165.006 62.005,177.876 82.998,125.594 "/>
</g>
<g id="item1">
<polygon class="st4" points="81.904,124.343 42.447,125.761 42.447,77.93 81.904,78.817 "/>
<g id="flash_1_">
<g>
<path class="st2" d="M95.599,83.503l15.469,0.259v3.839l-11.704-0.136v11.963l10.826-0.044v3.79l-10.826,0.099v16.288
l-3.765,0.115V83.503z"/>
<path class="st2" d="M115.387,81.953l3.614,0.07v36.94l-3.614,0.11V81.953z"/>
<path class="st2" d="M135.624,118.456l-0.274-3.095l-0.117,0.003c-1.058,1.964-3.103,3.761-5.834,3.846
c-3.915,0.122-5.928-3.383-5.928-7.003c0-6.05,4.176-9.397,11.567-9.411v-0.509c0-2.036-0.431-5.701-4.33-5.7
c-1.786,0.001-3.662,0.722-5.023,1.858l-0.804-2.991c1.605-1.337,3.922-2.203,6.341-2.193c5.805,0.024,7.204,5.147,7.204,10.062
v9.171c0,2.128,0.078,4.203,0.31,5.868L135.624,118.456z M135.116,105.899c-3.774-0.053-8.108,0.879-8.108,5.717
c0,2.934,1.517,4.283,3.305,4.235c2.489-0.066,4.06-2.146,4.608-4.247c0.118-0.461,0.196-0.971,0.196-1.429V105.899z"/>
<path class="st2" d="M143.43,113.689c0.992,0.83,2.742,1.688,4.407,1.644c2.408-0.064,3.532-1.686,3.532-3.677
c0-2.09-0.936-3.218-3.381-4.377c-3.299-1.506-4.864-3.902-4.864-6.821c0-3.926,2.403-7.138,6.333-7.121
c1.837,0.008,3.441,0.71,4.445,1.506l-0.817,3.175c-0.708-0.594-2.015-1.389-3.703-1.388c-1.96,0.001-3.058,1.505-3.058,3.308
c0,2.004,1.098,2.897,3.472,4.072c3.141,1.555,4.738,3.615,4.738,7.181c0,4.21-2.454,7.259-6.771,7.394
c-2.008,0.063-3.873-0.533-5.174-1.501L143.43,113.689z"/>
<path class="st2" d="M158.696,82.789l3.207,0.062v14.804l0.073,0c0.507-1.225,1.304-2.302,2.278-3.033
c0.936-0.729,2.048-1.213,3.228-1.208c2.314,0.01,5.983,1.954,5.983,10.004v13.884l-3.102,0.095v-13.462
c0-3.777-1.029-6.972-3.989-6.97c-2.048,0.002-3.673,1.962-4.253,4.316c-0.181,0.589-0.218,1.227-0.218,2.06v14.313
l-3.207,0.098V82.789z"/>
</g>
</g>
</g>
<g id="favorite">
<g>
<path class="st5" d="M43.957,46.92l7.134,0.431v1.658l-5.413-0.316v5.123l5.004,0.261v1.636l-5.004-0.251v6.976l-1.721-0.072
V46.92z"/>
<path class="st5" d="M57.737,62.94l-0.134-1.38l-0.057-0.002c-0.518,0.835-1.518,1.56-2.848,1.506
c-1.897-0.078-2.868-1.685-2.868-3.273c0-2.656,2.018-4.007,5.62-3.803V55.76c0-0.901-0.211-2.536-2.115-2.638
c-0.868-0.047-1.778,0.222-2.437,0.685l-0.388-1.336c0.776-0.547,1.898-0.87,3.075-0.804c2.841,0.158,3.53,2.467,3.53,4.649
v4.071c0,0.944,0.038,1.869,0.153,2.616L57.737,62.94z M57.488,57.362c-1.845-0.135-3.95,0.148-3.95,2.277
c0,1.291,0.735,1.935,1.604,1.972c1.213,0.052,1.982-0.817,2.25-1.729c0.058-0.2,0.096-0.424,0.096-0.627V57.362z"/>
<path class="st5" d="M62.31,52.287l1.796,6.179c0.301,0.998,0.546,1.902,0.735,2.804l0.056,0.002
c0.207-0.884,0.47-1.765,0.771-2.732l1.762-5.971l1.717,0.095l-3.554,10.603l-1.582-0.066l-3.487-11.013L62.31,52.287z"/>
<path class="st5" d="M78.55,58.406c0,3.929-2.262,5.547-4.407,5.459c-2.416-0.1-4.289-2.307-4.289-5.703
c0-3.595,1.965-5.594,4.436-5.457C76.837,52.846,78.55,55.158,78.55,58.406z M71.505,58.175c0,2.348,1.127,4.168,2.712,4.236
c1.541,0.066,2.693-1.621,2.693-4.019c0-1.804-0.75-4.131-2.657-4.233C72.337,54.057,71.505,56.138,71.505,58.175z"/>
<path class="st5" d="M80.562,56.599c0-1.248-0.018-2.322-0.072-3.31l1.39,0.077l0.054,2.079l0.072,0.004
c0.397-1.399,1.35-2.241,2.408-2.182c0.179,0.01,0.305,0.039,0.447,0.09v1.807c-0.161-0.052-0.322-0.082-0.537-0.094
c-1.113-0.059-1.904,0.925-2.12,2.356c-0.037,0.26-0.073,0.564-0.073,0.892v5.637l-1.57-0.065V56.599z"/>
<path class="st5" d="M88.246,50.769c0.018,0.651-0.373,1.149-0.994,1.114c-0.552-0.032-0.944-0.576-0.944-1.228
c0-0.674,0.41-1.17,0.979-1.136C87.873,49.555,88.246,50.097,88.246,50.769z M86.504,64.136V53.621l1.565,0.086v10.494
L86.504,64.136z"/>
<path class="st5" d="M92.513,50.956v2.996l2.204,0.122v1.44l-2.204-0.117v5.626c0,1.293,0.298,2.039,1.156,2.076
c0.403,0.017,0.699-0.034,0.891-0.09l0.07,1.422c-0.297,0.138-0.768,0.226-1.363,0.202c-0.719-0.03-1.298-0.334-1.667-0.867
c-0.439-0.58-0.598-1.516-0.598-2.747v-5.702l-1.323-0.07v-1.45l1.323,0.073v-2.505L92.513,50.956z"/>
<path class="st5" d="M97.185,59.738c0.035,2.551,1.349,3.658,2.866,3.723c1.082,0.047,1.733-0.16,2.298-0.433l0.256,1.352
c-0.53,0.276-1.437,0.579-2.76,0.524c-2.572-0.106-4.117-2.274-4.117-5.408c0-3.134,1.492-5.52,3.928-5.385
c2.71,0.15,3.428,3.145,3.428,5.037c0,0.383-0.035,0.679-0.051,0.869L97.185,59.738z M101.629,58.609
c0.017-1.192-0.394-3.067-2.095-3.159c-1.536-0.082-2.211,1.638-2.332,2.939L101.629,58.609z"/>
<path class="st5" d="M110.03,52.475l-3.45-0.201v-1.566l8.342,0.505v1.548l-3.421-0.2v12.615l-1.471-0.061V52.475z"/>
<path class="st5" d="M115.747,60.627c0.033,2.489,1.284,3.567,2.728,3.63c1.03,0.044,1.65-0.157,2.188-0.425l0.244,1.319
c-0.505,0.27-1.369,0.566-2.628,0.514c-2.449-0.101-3.92-2.215-3.92-5.273c0-3.057,1.421-5.387,3.74-5.259
c2.581,0.143,3.264,3.065,3.264,4.911c0,0.374-0.032,0.662-0.049,0.849L115.747,60.627z M119.979,59.521
c0.017-1.163-0.375-2.993-1.995-3.08c-1.462-0.078-2.105,1.601-2.22,2.87L119.979,59.521z"/>
<path class="st5" d="M128.666,65.519c-0.367,0.231-1.181,0.527-2.221,0.484c-2.347-0.097-3.882-2.211-3.882-5.277
c0-3.086,1.648-5.232,4.187-5.091c0.832,0.046,1.566,0.354,1.949,0.622l-0.319,1.38c-0.335-0.264-0.862-0.518-1.63-0.56
c-1.782-0.095-2.748,1.548-2.748,3.636c0,2.316,1.16,3.792,2.7,3.859c0.8,0.035,1.327-0.21,1.726-0.419L128.666,65.519z"/>
<path class="st5" d="M130.302,51.404l1.393,0.086v6.178l0.031,0.002c0.221-0.5,0.568-0.93,0.994-1.214
c0.409-0.284,0.897-0.461,1.415-0.432c1.018,0.056,2.642,0.959,2.642,4.352v5.851l-1.373-0.057v-5.658
c0-1.588-0.454-2.955-1.756-3.025c-0.897-0.048-1.606,0.732-1.859,1.701c-0.079,0.242-0.095,0.507-0.095,0.854v5.974
l-1.393-0.058V51.404z"/>
<path class="st5" d="M138.997,59.169c0-1.013-0.015-1.844-0.062-2.657l1.206,0.066l0.077,1.622l0.031,0.002
c0.37-0.91,1.232-1.771,2.461-1.703c1.025,0.057,2.61,0.948,2.61,4.28v5.802l-1.341-0.056v-5.612c0-1.569-0.443-2.9-1.714-2.968
c-0.891-0.048-1.584,0.744-1.815,1.722c-0.062,0.219-0.093,0.521-0.093,0.824v5.882l-1.36-0.057V59.169z"/>
<path class="st5" d="M154.05,62.066c0,3.55-1.845,5.02-3.595,4.948c-1.97-0.081-3.496-2.067-3.496-5.132
c0-3.245,1.601-5.059,3.616-4.947C152.652,57.051,154.05,59.131,154.05,62.066z M148.304,61.887c0,2.119,0.92,3.758,2.211,3.814
c1.257,0.054,2.197-1.475,2.197-3.64c0-1.629-0.611-3.728-2.167-3.812C148.982,58.165,148.304,60.048,148.304,61.887z"/>
<path class="st5" d="M155.693,52.966l1.298,0.08v14.021l-1.298-0.054V52.966z"/>
<path class="st5" d="M165.512,62.622c0,3.492-1.786,4.94-3.479,4.87c-1.906-0.079-3.383-2.031-3.383-5.045
c0-3.192,1.549-4.977,3.499-4.869C164.16,57.689,165.512,59.734,165.512,62.622z M159.952,62.45c0,2.085,0.89,3.696,2.139,3.75
c1.217,0.052,2.126-1.452,2.126-3.583c0-1.603-0.591-3.667-2.097-3.748C160.608,58.789,159.952,60.641,159.952,62.45z"/>
<path class="st5" d="M173.015,58.392c-0.028,0.674-0.056,1.425-0.056,2.564v5.423c0,2.142-0.31,3.443-0.972,4.229
c-0.663,0.826-1.625,1.063-2.491,1.032c-0.824-0.029-1.737-0.335-2.294-0.861l0.315-1.292c0.456,0.406,1.169,0.783,2.022,0.815
c1.276,0.048,2.208-0.825,2.208-3.185v-1.044l-0.028-0.001c-0.381,0.854-1.117,1.52-2.18,1.476
c-1.708-0.071-2.938-2.109-2.938-4.719c0-3.195,1.529-4.921,3.108-4.834c1.19,0.066,1.84,0.953,2.136,1.742l0.028,0.001
l0.057-1.408L173.015,58.392z M171.734,62.014c0-0.29-0.014-0.542-0.071-0.777c-0.226-0.998-0.834-1.843-1.74-1.892
c-1.194-0.064-2.049,1.271-2.049,3.449c0,1.847,0.684,3.413,2.035,3.471c0.765,0.033,1.458-0.594,1.727-1.665
c0.071-0.287,0.099-0.614,0.099-0.904V62.014z"/>
<path class="st5" d="M175.452,58.526l1.476,5.57c0.153,0.621,0.319,1.358,0.431,1.919l0.028,0.001
c0.125-0.551,0.264-1.254,0.43-1.917l1.328-5.37l1.282,0.071l-1.821,6.504c-0.872,3.142-1.469,4.748-2.304,5.715
c-0.599,0.708-1.2,0.975-1.507,1.041l-0.308-1.436c0.308-0.123,0.713-0.377,1.076-0.787c0.335-0.352,0.753-0.989,1.031-1.841
c0.055-0.17,0.097-0.303,0.097-0.399c0-0.096-0.028-0.232-0.083-0.445l-2.5-8.7L175.452,58.526z"/>
</g>
</g>
</g>
<g id="banner-text">
<path id="B" class="st6" d="M420.727,89.39V48.47c0-1.76,0.879-2.641,2.64-2.641h13.068c5.368,0,9.306,1.034,11.814,3.103
c2.508,2.068,3.762,4.928,3.762,8.58c0,2.2-0.671,4.213-2.013,6.039c-1.343,1.826-3.047,3.157-5.115,3.992l0.066,0.265
c2.596,0.527,4.729,1.826,6.402,3.894c1.671,2.068,2.508,4.379,2.508,6.93c0,4.313-1.375,7.623-4.125,9.934
c-2.75,2.31-6.875,3.465-12.375,3.465h-13.992C421.607,92.029,420.727,91.149,420.727,89.39z M430.891,64.243h4.554
c1.936,0,3.442-0.462,4.521-1.386c1.078-0.924,1.617-2.112,1.617-3.564c0-3.255-2.003-4.884-6.006-4.884h-4.686V64.243z
M430.891,83.383h6.468c1.936,0,3.432-0.462,4.488-1.386c1.056-0.924,1.584-2.244,1.584-3.96c0-3.432-2.376-5.147-7.128-5.147
h-5.412V83.383z"/>
<path id="A" class="st6" d="M455.31,90.709c0-0.175,0.088-0.571,0.264-1.188l14.52-42.438c0.352-0.924,1.605-1.386,3.762-1.386
h3.432c2.155,0,3.409,0.462,3.762,1.386l14.52,42.438c0.132,0.44,0.198,0.836,0.198,1.188c0,0.969-1.101,1.452-3.3,1.452h-2.904
c-2.156,0-3.389-0.462-3.696-1.386l-2.64-8.052h-15.576l-2.64,8.052c-0.309,0.924-1.32,1.386-3.036,1.386h-2.64
C456.652,92.161,455.31,91.678,455.31,90.709z M470.49,74.012h9.9l-3.762-11.748l-0.99-4.225h-0.264
c-0.396,2.069-0.726,3.477-0.99,4.225L470.49,74.012z"/>
<path id="N1" class="st6" d="M500.322,90.049V47.809c0-1.408,1.32-2.112,3.96-2.112h2.838c2.112,0,3.564,0.594,4.356,1.782
l17.358,26.729V47.809c0-1.408,1.32-2.112,3.96-2.112h1.914c2.64,0,3.96,0.704,3.96,2.112v42.239c0,1.409-1.32,2.112-3.96,2.112
H532.2c-2.112,0-3.564-0.594-4.356-1.782l-17.688-27.06v26.729c0,1.409-1.32,2.112-3.96,2.112h-1.914
C501.642,92.161,500.322,91.458,500.322,90.049z"/>
<path id="N2" class="st6" d="M547.775,90.049V47.809c0-1.408,1.32-2.112,3.96-2.112h2.838c2.112,0,3.564,0.594,4.356,1.782
l17.358,26.729V47.809c0-1.408,1.319-2.112,3.96-2.112h1.914c2.64,0,3.96,0.704,3.96,2.112v42.239c0,1.409-1.32,2.112-3.96,2.112
h-2.509c-2.111,0-3.563-0.594-4.355-1.782l-17.688-27.06v26.729c0,1.409-1.319,2.112-3.96,2.112h-1.914
C549.095,92.161,547.775,91.458,547.775,90.049z"/>
<path id="E" class="st6" d="M595.229,89.39V48.47c0-1.76,0.88-2.641,2.641-2.641h24.155c1.32,0,1.98,1.101,1.98,3.3v2.047
c0,2.2-0.66,3.3-1.98,3.3h-16.632v9.569h14.851c1.319,0,1.979,1.101,1.979,3.301v2.046c0,2.2-0.66,3.3-1.979,3.3h-14.851v10.691
h16.698c1.32,0,1.98,1.101,1.98,3.301v2.046c0,2.2-0.66,3.3-1.98,3.3h-24.222C596.109,92.029,595.229,91.149,595.229,89.39z"/>
<path id="R" class="st6" d="M631.264,90.049V48.47c0-1.76,0.88-2.641,2.641-2.641h12.87c10.955,0,16.434,4.137,16.434,12.408
c0,2.465-0.693,4.609-2.079,6.435c-1.386,1.827-3.267,3.18-5.643,4.06v0.264c0.835,0.309,1.693,1.046,2.573,2.211
c0.88,1.167,1.606,2.453,2.179,3.861l5.808,14.52c0.22,0.572,0.33,0.99,0.33,1.254c0,0.881-1.32,1.32-3.96,1.32h-2.706
c-2.201,0-3.477-0.462-3.828-1.386l-5.214-12.87c-0.749-1.452-1.551-2.475-2.409-3.069c-0.857-0.594-2.276-0.891-4.257-0.891
h-2.574v16.104c0,1.409-1.319,2.112-3.96,2.112h-2.244C632.584,92.161,631.264,91.458,631.264,90.049z M641.428,65.167h6.271
c1.363,0,2.551-0.55,3.563-1.649c1.012-1.1,1.519-2.431,1.519-3.993c0-1.562-0.495-2.794-1.485-3.696
c-0.99-0.901-2.343-1.353-4.059-1.353h-5.809V65.167z"/>
</g>
<g id="shield">
<g id="shield-bg">
<path class="st7" d="M376.625,203.474l15.762-176.577H219.386l15.733,176.607l70.666,19.6L376.625,203.474z"/>
</g>
<g id="shield-highlight">
<path class="st8" d="M305.872,41.35v166.748l57.26-15.878l13.464-150.87H305.872z"/>
</g>
</g>
<g>
<defs>
<polygon id="fiveMask" points="360.049,63.015 251.579,62.696 257.222,128.504 332.509,128.504 329.931,156.629 305.814,163.061
281.75,156.604 280.136,139.322 258.348,139.322 261.408,173.347 305.753,185.648 350.191,173.347 356.336,106.839
277.145,106.839 275.243,84.921 358.238,84.651 "/>
</defs>
<clipPath id="fiveMask_1_">
<use xlink:href="#fiveMask" style="overflow:visible;"/>
</clipPath>
<polyline id="fivePath" class="st9" points="363.544,73.833 263.162,73.833 266.9,119.094 346.992,119.094 341.234,166.082
305.872,176.146 269.569,160.208 270.103,135.646 "/>
</g>
<g id="survey-text">
<path id="s" class="st10" d="M419.086,177.848c0-1.687,0.842-3.74,2.53-6.16c1.686-2.42,3.116-3.63,4.29-3.63
c0.439,0,1.392,0.403,2.859,1.21c4.547,2.567,8.982,3.85,13.311,3.85c6.892,0,10.34-2.676,10.34-8.03c0-2.346-1.1-4.326-3.3-5.939
c-2.2-1.612-4.859-3.025-7.976-4.235c-3.117-1.21-6.215-2.603-9.295-4.18c-3.08-1.576-5.72-4.016-7.92-7.315s-3.3-7.425-3.3-12.375
s1.32-9.185,3.96-12.705c4.767-6.38,12.136-9.57,22.11-9.57c5.572,0,10.266,0.808,14.08,2.42c3.812,1.614,5.72,3.374,5.72,5.28
c0,1.614-0.698,3.613-2.09,5.995c-1.395,2.384-2.714,3.575-3.96,3.575c-0.294,0-0.954-0.256-1.98-0.77
c-2.934-1.32-6.325-1.98-10.175-1.98s-6.527,0.66-8.03,1.98c-1.504,1.319-2.255,2.97-2.255,4.949c0,1.98,1.101,3.74,3.3,5.28
c2.2,1.54,4.841,2.898,7.92,4.07c3.08,1.174,6.178,2.549,9.296,4.125c3.115,1.578,5.774,4.015,7.975,7.314
c2.2,3.301,3.3,7.243,3.3,11.825c0,4.584-0.715,8.508-2.145,11.771c-1.431,3.264-3.394,5.812-5.886,7.645
c-4.84,3.521-10.779,5.28-17.819,5.28s-12.944-1.062-17.71-3.19C421.468,182.211,419.086,180.047,419.086,177.848z"/>
<path id="u" class="st10" d="M478.926,160.907v-47.96c0-2.346,2.2-3.52,6.601-3.52h3.739c4.4,0,6.601,1.174,6.601,3.52v46.86
c0,3.888,1.392,7.077,4.18,9.569c2.786,2.494,6.38,3.74,10.78,3.74c4.399,0,8.011-1.246,10.835-3.74
c2.822-2.492,4.235-5.682,4.235-9.569v-46.86c0-2.346,2.199-3.52,6.6-3.52h3.63c4.4,0,6.6,1.174,6.6,3.52v47.96
c0,8.434-2.787,14.979-8.359,19.635c-5.574,4.658-13.42,6.985-23.54,6.985s-17.968-2.327-23.54-6.985
C481.712,175.886,478.926,169.341,478.926,160.907z"/>
<path id="r" class="st10" d="M557.575,183.348v-69.3c0-2.932,1.466-4.4,4.4-4.4h21.45c18.26,0,27.39,6.894,27.39,20.68
c0,4.107-1.155,7.683-3.465,10.725c-2.311,3.044-5.445,5.3-9.405,6.766v0.439c1.393,0.515,2.822,1.743,4.29,3.686
c1.466,1.943,2.676,4.089,3.63,6.435l9.68,24.2c0.366,0.954,0.551,1.65,0.551,2.09c0,1.468-2.2,2.2-6.601,2.2h-4.51
c-3.668,0-5.794-0.77-6.38-2.31l-8.69-21.45c-1.247-2.42-2.585-4.125-4.015-5.115s-3.795-1.485-7.095-1.485h-4.29v26.841
c0,2.348-2.2,3.52-6.601,3.52h-3.739C559.775,186.867,557.575,185.695,557.575,183.348z M574.516,141.877h10.45
c2.271,0,4.252-0.916,5.939-2.75c1.687-1.832,2.53-4.051,2.53-6.654c0-2.603-0.825-4.656-2.476-6.16
c-1.649-1.502-3.904-2.255-6.765-2.255h-9.68V141.877z"/>
<path id="v" class="st10" d="M617.633,111.848c0-1.612,2.236-2.42,6.71-2.42h3.63c3.666,0,5.83,1.064,6.49,3.19l16.061,51.48h0.439
l16.5-51.48c0.732-2.126,2.896-3.19,6.49-3.19h3.41c4.399,0,6.6,0.808,6.6,2.42c0,0.587-0.11,1.248-0.33,1.98l-23.76,70.73
c-0.514,1.54-2.567,2.31-6.16,2.31h-5.72c-3.594,0-5.648-0.77-6.16-2.31l-23.76-70.73
C617.779,112.801,617.633,112.142,617.633,111.848z"/>
<path id="e" class="st10" d="M692.542,182.247v-68.2c0-2.932,1.466-4.4,4.4-4.4h40.26c2.2,0,3.3,1.834,3.3,5.5v3.41
c0,3.667-1.1,5.5-3.3,5.5h-27.72v15.949h24.75c2.2,0,3.3,1.834,3.3,5.5v3.41c0,3.668-1.1,5.5-3.3,5.5h-24.75v17.82h27.83
c2.199,0,3.3,1.834,3.3,5.5v3.41c0,3.668-1.101,5.5-3.3,5.5h-40.37C694.008,186.647,692.542,185.181,692.542,182.247z"/>
<path id="y" class="st10" d="M772.341,183.348v-33.66l-21.89-35.31c-0.732-1.246-1.101-2.162-1.101-2.75
c0-1.466,2.347-2.2,7.04-2.2h4.73c3.592,0,5.792,0.698,6.6,2.09l13.42,23.54l13.53-23.54c0.806-1.392,3.006-2.09,6.6-2.09h3.96
c4.62,0,6.931,0.734,6.931,2.2c0,0.734-0.33,1.65-0.99,2.75l-21.891,35.64v33.33c0,2.348-2.199,3.52-6.6,3.52h-3.74
C774.541,186.867,772.341,185.695,772.341,183.348z"/>
</g>
</svg>
body {
background-color: #ededed;
color: #ccc;
text-align: center;
margin:0;
padding:0;
width:300px;
height:250px;
overflow:hidden;
}
h1 {
font-family: Arial, sans-serif;
}
svg {
visibility:hidden;
cursor:pointer;
}
var tl = new TimelineMax({});
TweenLite.set("svg", {visibility:"visible"});
TweenLite.set("#fivePath", {drawSVG:0});
tl.from("#bg", 0.6, {opacity:0})
.staggerFrom(["#favorite", "#item1", "#item2"], 0.2, {opacity:0, y:20}, 0.1)
.from("#check", 0.2, {drawSVG:0}, "+=0.3")
.to("#html5", 0.1, {scale:1.1, repeat:1, yoyo:true, transformOrigin:"50% 50%"}, "-=0.2")
.to("#html5 path", 0.1, {fill:"#fff"}, "-=0.1")
.add("shield")
.from("#shield", 0.1, {opacity:0}, "shield")
.from("#shield", 0.5, {scale:2, transformOrigin:"50% 50%", ease:Back.easeOut.config(3)}, "shield")
.to("#fivePath", 0.6, {drawSVG:true, ease:Power1.easeOut}, "shield+=0.3")
.staggerFrom(".st6", 0.2, {opacity:0, y:-30}, 0.04, "-=0.2")
.staggerFrom(".st10", 0.2, {opacity:0, y:20}, 0.04, '-=0.3');
document.getElementById("banner").onclick = function() {
tl.restart();
}
Also see: Tab Triggers