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.
.carousel
ul.carousel__container(aria-label="A guy and his mustache over the decades")
li.carousel__item.carousel__item--hover
.guy.guy--0
svg.guy__svg(viewBox='0 0 500 500' role="img" alt="Tiny mustache and very long hair")
defs
linearGradient#guy--0_green(x1='250' x2='250' y2='500' gradientUnits='userSpaceOnUse')
stop(offset='0' stop-color='#60B351')
stop(offset='1' stop-color='#3B823D')
g
rect(width='500' height='500' fill='url(#guy--0_green)')
g.guy__hover
rect(width='500' height='500' fill='#F36279')
g
path.circle-top(d='M366.53,215.36a5,5,0,0,1-4.46-5.49h0a5,5,0,0,1,5.49-4.46h0A5,5,0,0,1,372,210.9h0a5,5,0,0,1-5,4.48h0A4.61,4.61,0,0,1,366.53,215.36Zm14.27-4.47a5,5,0,0,1,4.45-5.49h0a5,5,0,0,1,5.5,4.45h0a5,5,0,0,1-4.46,5.5h0a4.53,4.53,0,0,1-.52,0h0A5,5,0,0,1,380.8,210.89Zm-33.62.38A5,5,0,0,1,344,205h0a5,5,0,0,1,6.29-3.22h0a5,5,0,0,1,3.22,6.3h0a5,5,0,0,1-4.76,3.46h0A4.87,4.87,0,0,1,347.18,211.27ZM399.33,208a5,5,0,0,1,3.21-6.3h0a5,5,0,0,1,6.3,3.21h0a5,5,0,0,1-3.21,6.3h0a4.87,4.87,0,0,1-1.54.25h0A5,5,0,0,1,399.33,208Zm-70.22-4.8a5,5,0,0,1-1.83-6.83h0a5,5,0,0,1,6.83-1.83h0a5,5,0,0,1,1.83,6.83h0a5,5,0,0,1-4.33,2.5h0A4.94,4.94,0,0,1,329.11,203.23Zm87.75-1.87a5,5,0,0,1,1.82-6.83h0a5,5,0,0,1,6.83,1.82h0a5,5,0,0,1-1.81,6.83h0a5,5,0,0,1-2.51.68h0A5,5,0,0,1,416.86,201.36Zm-103.74-9.75h0a5,5,0,0,1-.38-7.06h0a5,5,0,0,1,7.07-.37h0a5,5,0,0,1,.37,7.06h0a5,5,0,0,1-3.72,1.65h0A5,5,0,0,1,313.12,191.61Zm119.49-.43a5,5,0,0,1,.37-7.06h0a5,5,0,0,1,7.06.37h0a5,5,0,0,1-.37,7.06h0a5,5,0,0,1-3.34,1.29h0A5,5,0,0,1,432.61,191.18ZM299.88,176.94a5,5,0,0,1,1.09-7h0a5,5,0,0,1,7,1.1h0a5,5,0,0,1-1.1,7h0a5,5,0,0,1-2.94,1h0A5,5,0,0,1,299.88,176.94Zm146,1a5,5,0,0,1-1.1-7h0a5,5,0,0,1,7-1.11h0a5,5,0,0,1,1.1,7h0a5,5,0,0,1-4,2.06h0A4.91,4.91,0,0,1,445.92,178ZM290,159.83a5,5,0,0,1,2.53-6.6h0a5,5,0,0,1,6.6,2.52h0a5,5,0,0,1-2.52,6.61h0a5.12,5.12,0,0,1-2,.43h0A5,5,0,0,1,290,159.83Zm166.24,2.44a5,5,0,0,1-2.53-6.6h0a5,5,0,0,1,6.6-2.53h0a5,5,0,0,1,2.53,6.6h0a5,5,0,0,1-4.57,3h0A4.89,4.89,0,0,1,456.2,162.27ZM283.84,141h0a5,5,0,0,1,3.86-5.93h0a5,5,0,0,1,5.93,3.85h0a5,5,0,0,1-3.85,5.93h0a5.51,5.51,0,0,1-1,.11h0A5,5,0,0,1,283.84,141ZM463,144.78a5,5,0,0,1-3.86-5.92h0a5,5,0,0,1,5.93-3.86h0a5,5,0,0,1,3.86,5.93h0a5,5,0,0,1-4.89,4h0A4.66,4.66,0,0,1,463,144.78ZM281.77,121.37a5,5,0,0,1,5-5h0a5,5,0,0,1,5,5h0a5,5,0,0,1-5,5h0A5,5,0,0,1,281.77,121.37Zm179.18-.1a.09.09,0,0,1,0,0h0a.61.61,0,0,1,0-.14h0a5,5,0,0,1,5-5h0a5,5,0,0,1,5,5h0v.11h0v.1h0a5,5,0,0,1-5,5h0A5,5,0,0,1,461,121.27Zm-179.18.1Zm5.89-13.74a5,5,0,0,1-3.87-5.92h0a5,5,0,0,1,5.92-3.86h0a5,5,0,0,1,3.87,5.92h0a5,5,0,0,1-4.89,4h0A4.51,4.51,0,0,1,287.66,107.63Zm171.42-4.14a5,5,0,0,1,3.85-5.93h0a5,5,0,0,1,5.93,3.84h0a5,5,0,0,1-3.84,5.94h0a5.43,5.43,0,0,1-1,.11h0A5,5,0,0,1,459.08,103.49Zm-166.66-14a5,5,0,0,1-2.54-6.6h0a5,5,0,0,1,6.6-2.54h0A5,5,0,0,1,299,87h0a5,5,0,0,1-4.57,3h0A5,5,0,0,1,292.42,89.49ZM453.59,86.7a5,5,0,0,1,2.52-6.61h0a5,5,0,0,1,6.61,2.52h0a5,5,0,0,1-2.52,6.61h0a5.12,5.12,0,0,1-2,.43h0A5,5,0,0,1,453.59,86.7Zm-152.72-14a5,5,0,0,1-1.11-7h0a5,5,0,0,1,7-1.11h0a5,5,0,0,1,1.11,7h0a5,5,0,0,1-4.05,2.06h0A4.91,4.91,0,0,1,300.87,72.74Zm143.84-1.33a5,5,0,0,1,1.09-7h0a5,5,0,0,1,7,1.08h0a5,5,0,0,1-1.08,7h0a5,5,0,0,1-2.95,1h0A5,5,0,0,1,444.71,71.41ZM312.61,58.12a5,5,0,0,1,.36-7.06h0a5,5,0,0,1,7.06.36h0a5,5,0,0,1-.36,7.06h0a5,5,0,0,1-3.35,1.29h0A5,5,0,0,1,312.61,58.12Zm120.23.18h0a5,5,0,0,1-.39-7.06h0a5,5,0,0,1,7.07-.39h0a5,5,0,0,1,.38,7h0a5,5,0,0,1-3.73,1.66h0A5,5,0,0,1,432.84,58.3ZM327.12,46.24a5,5,0,0,1,1.82-6.83h0a5,5,0,0,1,6.84,1.81h0A5,5,0,0,1,334,48.06h0a5.08,5.08,0,0,1-2.51.67h0A5,5,0,0,1,327.12,46.24Zm91.41,1.68a5,5,0,0,1-1.84-6.83h0a5,5,0,0,1,6.83-1.84h0a5,5,0,0,1,1.83,6.83h0a5,5,0,0,1-4.33,2.5h0A5,5,0,0,1,418.53,47.92ZM343.78,37.63a5,5,0,0,1,3.21-6.3h0a5,5,0,0,1,6.3,3.2h0a5,5,0,0,1-3.2,6.3h0a5,5,0,0,1-1.55.25h0A5,5,0,0,1,343.78,37.63Zm58.59,3.12a5,5,0,0,1-3.23-6.3h0a5,5,0,0,1,6.3-3.22h0a5,5,0,0,1,3.22,6.3h0A5,5,0,0,1,403.91,41h0A5.15,5.15,0,0,1,402.37,40.75Zm-40.49-8a5,5,0,0,1,4.44-5.5h0a5,5,0,0,1,5.5,4.45h0a5,5,0,0,1-4.45,5.5h0a4.58,4.58,0,0,1-.53,0h0A5,5,0,0,1,361.88,32.7Zm23.18,4.42a5,5,0,0,1-4.46-5.48h0a5,5,0,0,1,5.48-4.47h0a5,5,0,0,1,4.47,5.48h0a5,5,0,0,1-5,4.49h0Z' fill='#BF3D56')
path.circle-bottom(d='M426.55,430.39a2,2,0,0,1,1.85-2.14h0a2,2,0,0,1,2.14,1.85h0a2,2,0,0,1-1.85,2.14h-.15A2,2,0,0,1,426.55,430.39Zm-8.19,1.09a2,2,0,0,1-1.51-2.39h0a2,2,0,0,1,2.39-1.51h0a2,2,0,0,1,1.51,2.39h0a2,2,0,0,1-1.95,1.56h0A2.28,2.28,0,0,1,418.36,431.48Zm17.84-2.68a2,2,0,0,1,1.13-2.59h0a2,2,0,0,1,2.6,1.13h0a2,2,0,0,1-1.13,2.59h0a1.89,1.89,0,0,1-.73.14h0A2,2,0,0,1,436.2,428.8Zm-27.49-1.1h0A2,2,0,0,1,408,425h0a2,2,0,0,1,2.74-.73h0a2,2,0,0,1,.73,2.73h0a2,2,0,0,1-1.74,1h0A1.87,1.87,0,0,1,408.71,427.7ZM445,424.42a2,2,0,0,1,.31-2.81h0a2,2,0,0,1,2.81.32h0a2,2,0,0,1-.31,2.81h0a2,2,0,0,1-1.25.44h0A2,2,0,0,1,445,424.42Zm-44.36-3.17h0a2,2,0,0,1,.1-2.83h0a2,2,0,0,1,2.83.11h0a2,2,0,0,1-.1,2.82h0a2,2,0,0,1-1.37.54h0A2,2,0,0,1,400.6,421.25ZM452,417.66a2,2,0,0,1-.52-2.78h0a2,2,0,0,1,2.78-.52h0a2,2,0,0,1,.52,2.78h0a2,2,0,0,1-1.65.87h0A2,2,0,0,1,452,417.66Zm-57.29-5a2,2,0,0,1,.93-2.67h0a2,2,0,0,1,2.67.93h0a2,2,0,0,1-.93,2.67h0a1.94,1.94,0,0,1-.87.2h0A2,2,0,0,1,394.74,412.7Zm62.07-3.58a2,2,0,0,1-1.32-2.5h0a2,2,0,0,1,2.5-1.32h0a2,2,0,0,1,1.32,2.5h0a2,2,0,0,1-1.91,1.41h0A2.06,2.06,0,0,1,456.81,409.12Zm-65.14-6.32a2,2,0,0,1,1.68-2.28h0a2,2,0,0,1,2.27,1.68h0a2,2,0,0,1-1.67,2.28h0a1.51,1.51,0,0,1-.3,0h0A2,2,0,0,1,391.67,402.8Zm65.18-5.25v0h0v-.1h0a2,2,0,0,1,2-2h0a2,2,0,0,1,2,2h0a.17.17,0,0,1,0,.07h0a.2.2,0,0,1,0,.07h0a2,2,0,0,1-2,2h0A2,2,0,0,1,456.85,397.55Zm-63.52-2.84a2,2,0,0,1-1.68-2.27h0a2,2,0,0,1,2.27-1.68h0a2,2,0,0,1,1.69,2.27h0a2,2,0,0,1-2,1.71h0A1.53,1.53,0,0,1,393.33,394.71Zm62.12-6.35h0a2,2,0,0,1,1.31-2.5h0a2,2,0,0,1,2.51,1.31h0a2,2,0,0,1-1.31,2.5h0a2.08,2.08,0,0,1-.6.09h0A2,2,0,0,1,455.45,388.36Zm-59.83-3.16a2,2,0,0,1-.94-2.67h0a2,2,0,0,1,2.67-.94h0a2,2,0,0,1,.93,2.67h0a2,2,0,0,1-1.8,1.13h0A2,2,0,0,1,395.62,385.2Zm55.82-5.09a2,2,0,0,1,.51-2.78h0a2,2,0,0,1,2.78.52h0a2,2,0,0,1-.51,2.78h0a2,2,0,0,1-1.14.35h0A2,2,0,0,1,451.44,380.11Zm-50.83-3.33a2,2,0,0,1-.11-2.82h0a2,2,0,0,1,2.83-.12h0a2,2,0,0,1,.11,2.83h0a2,2,0,0,1-1.47.64h0A2,2,0,0,1,400.61,376.78Zm44.56-3.37a2,2,0,0,1-.33-2.81h0a2,2,0,0,1,2.81-.32h0a2,2,0,0,1,.32,2.81h0a2,2,0,0,1-1.57.76h0A2,2,0,0,1,445.17,373.41Zm-37.31-3.2a2,2,0,0,1,.72-2.74h0a2,2,0,0,1,2.74.72h0a2,2,0,0,1-.72,2.74h0a2.07,2.07,0,0,1-1,.27h0A2,2,0,0,1,407.86,370.21Zm29.35-1.36a2,2,0,0,1-1.13-2.59h0a2,2,0,0,1,2.58-1.14h0a2,2,0,0,1,1.14,2.59h0a2,2,0,0,1-1.86,1.28h0A2.1,2.1,0,0,1,437.21,368.85Zm-20.49-2.8a2,2,0,0,1,1.5-2.4h0a2,2,0,0,1,2.4,1.5h0a2,2,0,0,1-1.5,2.39h0a1.73,1.73,0,0,1-.45.05h0A2,2,0,0,1,416.72,366.05Zm11.55.79a2,2,0,0,1-1.86-2.13h0a2,2,0,0,1,2.14-1.86h0A2,2,0,0,1,430.4,365h0a2,2,0,0,1-2,1.86h-.14Z' fill='#fff')
g(opacity='0.5').circle-left
path(d='M134.11,405.32a3.51,3.51,0,0,1-3.35-3.65h0a3.5,3.5,0,0,1,3.65-3.34h0a3.5,3.5,0,0,1,3.35,3.64h0a3.51,3.51,0,0,1-3.5,3.35h-.15Zm17.48-4a3.49,3.49,0,0,1,3-3.93h0a3.49,3.49,0,0,1,3.93,3h0a3.49,3.49,0,0,1-3,3.93h0a2.56,2.56,0,0,1-.47,0h0A3.49,3.49,0,0,1,151.59,401.35Zm-38.74,1.13h0a3.51,3.51,0,0,1-2.64-4.19h0a3.5,3.5,0,0,1,4.19-2.64h0a3.5,3.5,0,0,1,2.64,4.19h0a3.51,3.51,0,0,1-3.41,2.73h0A3.59,3.59,0,0,1,112.85,402.48ZM172,397.34a3.5,3.5,0,0,1,2.25-4.41h0a3.5,3.5,0,0,1,4.41,2.25h0a3.5,3.5,0,0,1-2.25,4.41h0a3.38,3.38,0,0,1-1.08.17h0A3.5,3.5,0,0,1,172,397.34Zm-79.58-1.47a3.49,3.49,0,0,1-1.84-4.59h0a3.5,3.5,0,0,1,4.59-1.85h0A3.51,3.51,0,0,1,97,394h0a3.52,3.52,0,0,1-3.22,2.13h0A3.55,3.55,0,0,1,92.44,395.87Zm99-6.14a3.5,3.5,0,0,1,1.42-4.74h0a3.49,3.49,0,0,1,4.74,1.41h0a3.51,3.51,0,0,1-1.42,4.75h0a3.56,3.56,0,0,1-1.66.42h0A3.5,3.5,0,0,1,191.4,389.73Zm-117.85-4a3.5,3.5,0,0,1-1-4.85h0a3.51,3.51,0,0,1,4.85-1h0a3.5,3.5,0,0,1,1,4.85h0a3.49,3.49,0,0,1-2.92,1.57h0A3.51,3.51,0,0,1,73.55,385.7Zm135.55-6.94a3.51,3.51,0,0,1,.55-4.92h0a3.51,3.51,0,0,1,4.92.55h0a3.5,3.5,0,0,1-.55,4.92h0a3.44,3.44,0,0,1-2.18.77h0A3.48,3.48,0,0,1,209.1,378.76ZM56.78,372.34a3.5,3.5,0,0,1-.11-4.95h0a3.5,3.5,0,0,1,4.95-.12h0a3.5,3.5,0,0,1,.11,5h0a3.49,3.49,0,0,1-2.53,1.08h0A3.52,3.52,0,0,1,56.78,372.34Zm167.8-7.52a3.5,3.5,0,0,1-.34-4.94h0a3.51,3.51,0,0,1,4.94-.33h0a3.5,3.5,0,0,1,.34,4.94h0a3.52,3.52,0,0,1-2.64,1.19h0A3.47,3.47,0,0,1,224.58,364.82ZM42.65,356.2a3.49,3.49,0,0,1,.77-4.88h0a3.49,3.49,0,0,1,4.89.76h0a3.49,3.49,0,0,1-.77,4.89h0a3.42,3.42,0,0,1-2,.67h0A3.52,3.52,0,0,1,42.65,356.2Zm194.68-7.85a3.49,3.49,0,0,1-1.2-4.8h0a3.51,3.51,0,0,1,4.81-1.21h0a3.51,3.51,0,0,1,1.2,4.8h0a3.51,3.51,0,0,1-3,1.71h0A3.44,3.44,0,0,1,237.33,348.35ZM31.62,337.82a3.51,3.51,0,0,1,1.63-4.68h0a3.5,3.5,0,0,1,4.67,1.63h0a3.48,3.48,0,0,1-1.62,4.67h0a3.45,3.45,0,0,1-1.52.35h0A3.51,3.51,0,0,1,31.62,337.82Zm215.32-7.95a3.51,3.51,0,0,1-2.05-4.51h0a3.5,3.5,0,0,1,4.51-2.05h0a3.5,3.5,0,0,1,2,4.51h0a3.51,3.51,0,0,1-3.28,2.27h0A3.55,3.55,0,0,1,246.94,329.87ZM24.06,317.74a3.5,3.5,0,0,1,2.44-4.3h0a3.5,3.5,0,0,1,4.31,2.44h0a3.51,3.51,0,0,1-2.44,4.31h0a3.77,3.77,0,0,1-.93.12h0A3.5,3.5,0,0,1,24.06,317.74Zm229-7.77a3.51,3.51,0,0,1-2.82-4.07h0a3.49,3.49,0,0,1,4.07-2.82h0a3.5,3.5,0,0,1,2.82,4.06h0A3.51,3.51,0,0,1,253.7,310h0A4.46,4.46,0,0,1,253.07,310ZM20.23,296.65a3.52,3.52,0,0,1,3.17-3.81h0A3.52,3.52,0,0,1,27.21,296h0a3.5,3.5,0,0,1-3.17,3.8h-.31A3.51,3.51,0,0,1,20.23,296.65ZM252,285.79v-.11h0v-.15h0a3.5,3.5,0,0,1,3.49-3.51h0a3.5,3.5,0,0,1,3.51,3.49h0v.14h0v.14h0a3.5,3.5,0,0,1-3.5,3.5h0A3.5,3.5,0,0,1,252,285.79ZM23.39,279a3.5,3.5,0,0,1-3.18-3.79h0A3.5,3.5,0,0,1,24,272h0a3.5,3.5,0,0,1,3.18,3.79h0A3.51,3.51,0,0,1,23.7,279h0ZM250.2,265.42h0a3.5,3.5,0,0,1,2.81-4.08h0a3.51,3.51,0,0,1,4.07,2.82h0a3.5,3.5,0,0,1-2.81,4.07h0a3.52,3.52,0,0,1-.63.06h0A3.51,3.51,0,0,1,250.2,265.42Zm-223.76-7A3.5,3.5,0,0,1,24,254.1h0a3.5,3.5,0,0,1,4.3-2.45h0a3.5,3.5,0,0,1,2.45,4.3h0a3.51,3.51,0,0,1-3.37,2.58h0A3.31,3.31,0,0,1,26.44,258.4ZM244.8,246a3.5,3.5,0,0,1,2-4.51h0a3.5,3.5,0,0,1,4.51,2h0a3.51,3.51,0,0,1-2,4.52h0a3.51,3.51,0,0,1-1.23.22h0A3.5,3.5,0,0,1,244.8,246ZM33.14,238.68A3.52,3.52,0,0,1,31.5,234h0a3.51,3.51,0,0,1,4.68-1.63h0A3.49,3.49,0,0,1,37.81,237h0a3.49,3.49,0,0,1-3.15,2h0A3.58,3.58,0,0,1,33.14,238.68ZM236,227.81h0a3.49,3.49,0,0,1,1.19-4.8h0a3.49,3.49,0,0,1,4.8,1.19h0a3.49,3.49,0,0,1-1.19,4.8h0a3.51,3.51,0,0,1-1.8.51h0A3.52,3.52,0,0,1,236,227.81ZM43.27,220.47a3.49,3.49,0,0,1-.77-4.88h0a3.49,3.49,0,0,1,4.89-.78h0a3.5,3.5,0,0,1,.77,4.89h0a3.49,3.49,0,0,1-2.83,1.44h0A3.45,3.45,0,0,1,43.27,220.47Zm180.81-9a3.51,3.51,0,0,1,.32-4.94h0a3.5,3.5,0,0,1,4.94.32h0a3.5,3.5,0,0,1-.32,4.94h0a3.52,3.52,0,0,1-2.31.87h0A3.52,3.52,0,0,1,224.08,211.51ZM56.49,204.37a3.5,3.5,0,0,1,.1-5h0a3.5,3.5,0,0,1,4.95.11h0a3.48,3.48,0,0,1-.11,4.94h0a3.44,3.44,0,0,1-2.42,1h0A3.45,3.45,0,0,1,56.49,204.37Zm153-6.79a3.49,3.49,0,0,1-.56-4.92h0a3.48,3.48,0,0,1,4.91-.56h0a3.49,3.49,0,0,1,.57,4.91h0a3.53,3.53,0,0,1-2.75,1.33h0A3.48,3.48,0,0,1,209.46,197.58ZM72.35,190.87a3.5,3.5,0,0,1,1-4.85h0a3.5,3.5,0,0,1,4.85,1h0a3.5,3.5,0,0,1-1,4.85h0a3.47,3.47,0,0,1-1.93.59h0A3.48,3.48,0,0,1,72.35,190.87Zm120.24-4.4a3.51,3.51,0,0,1-1.43-4.74h0a3.51,3.51,0,0,1,4.74-1.43h0a3.49,3.49,0,0,1,1.43,4.74h0a3.5,3.5,0,0,1-3.09,1.85h0A3.52,3.52,0,0,1,192.59,186.47ZM90.35,180.41a3.51,3.51,0,0,1,1.84-4.6h0a3.49,3.49,0,0,1,4.59,1.84h0a3.5,3.5,0,0,1-1.83,4.6h0a3.55,3.55,0,0,1-1.38.28h0A3.5,3.5,0,0,1,90.35,180.41ZM174,178.56a3.49,3.49,0,0,1-2.25-4.41h0a3.48,3.48,0,0,1,4.4-2.25h0a3.5,3.5,0,0,1,2.26,4.4h0a3.49,3.49,0,0,1-3.33,2.43h0A3.69,3.69,0,0,1,174,178.56ZM110,173.35a3.49,3.49,0,0,1,2.63-4.19h0a3.49,3.49,0,0,1,4.19,2.63h0a3.5,3.5,0,0,1-2.63,4.19h0a3.55,3.55,0,0,1-.79.09h0A3.5,3.5,0,0,1,110,173.35Zm44.37.77a3.5,3.5,0,0,1-3-3.93h0a3.51,3.51,0,0,1,3.93-3h0a3.49,3.49,0,0,1,3,3.93h0a3.5,3.5,0,0,1-3.46,3h0A3.71,3.71,0,0,1,154.32,174.12Zm-23.83-4.19a3.49,3.49,0,0,1,3.33-3.66h0a3.5,3.5,0,0,1,3.66,3.33h0a3.5,3.5,0,0,1-3.34,3.66H134A3.49,3.49,0,0,1,130.49,169.93Z' fill='#fff')
g
g
g
circle(cx='334.25' cy='266.5' r='23' fill='#101820')
circle(cx='330.75' cy='297' r='21.5' fill='#101820')
circle(cx='284.75' cy='306' r='53' fill='#101820')
g
circle(cx='165.75' cy='266.5' r='23' fill='#101820')
circle(cx='169.25' cy='297' r='21.5' fill='#101820')
circle(cx='215.25' cy='306' r='53' fill='#101820')
g
g
circle(cx='308.16' cy='332' r='40' fill='#101820')
circle(cx='314' cy='383.49' r='47' fill='#101820')
g
circle(cx='191.84' cy='332' r='40' fill='#101820')
circle(cx='186' cy='383.49' r='47' fill='#101820')
circle(cx='250' cy='363' r='46' fill='#101820')
g
path(d='M337.5,254.5h0a12,12,0,0,1-12-12v-26a12,12,0,0,1,12-12h7a19.08,19.08,0,0,1,19,19v5A26.08,26.08,0,0,1,337.5,254.5Z' fill='#fff0e0')
path(d='M162.5,254.5h0a12,12,0,0,0,12-12v-26a12,12,0,0,0-12-12h-7a19.08,19.08,0,0,0-19,19v5A26.08,26.08,0,0,0,162.5,254.5Z' fill='#fff0e0')
g
path(d='M162.5,204.5h-7l-.37,0a79.27,79.27,0,0,1-5.44,46.59,25.78,25.78,0,0,0,12.78,3.39h0a12,12,0,0,0,12-12v-26A12,12,0,0,0,162.5,204.5Z' fill='#ffd9b0')
path(d='M337.5,204.5h7l.37,0a79.27,79.27,0,0,0,5.44,46.59,25.78,25.78,0,0,1-12.78,3.39h0a12,12,0,0,1-12-12v-26A12,12,0,0,1,337.5,204.5Z' fill='#ffd9b0')
rect(x='234' y='319' width='32' height='63' rx='12' fill='#fff0e0')
path(d='M250,345a65.42,65.42,0,0,1,16,2V333a12,12,0,0,0-12-12h-8a12,12,0,0,0-12,12v14A65.42,65.42,0,0,1,250,345Z' fill='#ffd9b0')
rect(x='158.5' y='95.5' width='183' height='246' rx='91.5' fill='#fff0e0')
g.moustache
circle(cx='240' cy='270' r='12' fill='#101820')
circle(cx='262' cy='270' r='12' fill='#101820')
g
rect(x='330.18' y='196.36' width='20.82' height='26.64' rx='6' fill='#101820')
rect(x='149' y='196.36' width='20.82' height='26.64' rx='6' fill='#101820')
g
ellipse(cx='250' cy='248.25' rx='23' ry='18.69' fill='#ffbf7a')
ellipse(cx='250' cy='245.58' rx='23' ry='16.02' fill='#fff0e0')
g.eye
circle(cx='210' cy='208.5' r='9' fill='#101820')
circle(cx='290' cy='208.5' r='9' fill='#101820')
g
path(d='M209,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C194.43,221,201,220.63,209,220.63Z' fill='#ffd9b0')
path(d='M291,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C276.43,221,283,220.63,291,220.63Z' fill='#ffd9b0')
g
path(d='M202.11,125.55a106.34,106.34,0,0,0-3.44-26.87,95.53,95.53,0,0,0-49.75,83.62v35.29A106.15,106.15,0,0,0,202.11,125.55Z' fill='#101820')
path(d='M297.82,125.55a106.33,106.33,0,0,1,3.43-26.87A95.53,95.53,0,0,1,351,182.3v35.29A106.14,106.14,0,0,1,297.82,125.55Z' fill='#101820')
path(d='M346,500H154V415.85A45,45,0,0,1,198.85,371h102.3A45,45,0,0,1,346,415.85Z' fill='#fff0e0')
g
path(d='M180.21,500h-5c0-12-3-45-14-45h19Z' fill='#ffd9b0')
path(d='M319.79,500h5c0-12,3-45,14-45h-19Z' fill='#ffd9b0')
g.guy__hover.guy__hover--reverse
path(d='M351.26,409a54.83,54.83,0,0,0-52.78-40H281.21a40,40,0,0,1-62.42,0H202.52a54.83,54.83,0,0,0-52.78,40L141,455H360Z' fill='#F36279')
polygon(points='322.85 411 177.15 411 171.53 455 328.47 455 322.85 411' opacity='0.2')
rect(x='177.15' y='387' width='145.71' height='113' fill='#F36279')
g
rect(x='194' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
rect(x='283' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
g.guy__hover
g
path(d='M350.76,409A54.83,54.83,0,0,0,298,369H280.71a40,40,0,0,1-62.42,0H202a54.83,54.83,0,0,0-52.78,40l-8.74,46h219Z' fill='#96DAEA')
polygon(points='322.35 411 176.65 411 171.03 455 327.97 455 322.35 411' opacity='0.2')
rect(x='176.65' y='387' width='145.71' height='113' fill='#96DAEA')
g
path(d='M260.8,211.39a27,27,0,0,0-22.22,0' fill='none' stroke='#B7B7B7' stroke-miterlimit='10' stroke-width='2')
g
circle(cx='211.29' cy='215.88' r='27.04' fill='#F36279' opacity='0.5')
circle(cx='211.29' cy='215.88' r='27.04' fill='none' stroke='#B7B7B7' stroke-miterlimit='10' stroke-width='2')
g
circle(cx='288.29' cy='215.88' r='27.04' fill='#F36279' opacity='0.5')
circle(cx='288.29' cy='215.88' r='27.04' fill='none' stroke='#B7B7B7' stroke-miterlimit='10' stroke-width='2')
g
path(d='M260.36,161.79a22.33,22.33,0,0,1,5.16-14.3h-9.25a29.05,29.05,0,0,1-1.15,24.33h7.61A22.35,22.35,0,0,1,260.36,161.79Z' fill='#F9EA35')
path(d='M307.82,147.49H300a22.65,22.65,0,0,1,3.21,5.16A42.33,42.33,0,0,1,307.82,147.49Z' fill='#F9EA35')
path(d='M211.89,147.49H203a37.33,37.33,0,0,1,4.55,17.91,37.75,37.75,0,0,1-.56,6.42h6.69a20.57,20.57,0,0,1-1.83-24.33Z' fill='#96DAEA')
path(d='M254.77,147.49h-7.9A20.53,20.53,0,0,1,245,171.82H253a31.46,31.46,0,0,1,1.8-24.33Z' fill='#96DAEA')
path(d='M256.27,147.49h-1.5a31.46,31.46,0,0,0-1.8,24.33h2.15a29.05,29.05,0,0,0,1.15-24.33Z' fill='#96DAEA')
path(d='M246.87,147.49h-35a20.57,20.57,0,0,0,1.83,24.33H245a20.53,20.53,0,0,0,1.83-24.33Z' fill='#85DE76')
path(d='M336.92,148.83a28.84,28.84,0,0,1,17.33,5.74v-.65a6.44,6.44,0,0,0-6.42-6.43H310.76a31,31,0,0,1,3.38,12.38A29,29,0,0,1,336.92,148.83Z' fill='#d4e81c')
path(d='M303.23,152.65a22.4,22.4,0,0,1-.42,19.17h5.72a28.85,28.85,0,0,1,5.61-11.95,31,31,0,0,0-3.38-12.38h-2.94A42.33,42.33,0,0,0,303.23,152.65Z' fill='#d4e81c')
path(d='M262.73,171.82h7.66a15.92,15.92,0,0,1,5.39-24.33H265.52a22.4,22.4,0,0,0-2.79,24.33Z' fill='#85DE76')
path(d='M298.63,160.43a42.47,42.47,0,0,1,4.6-7.78,22.65,22.65,0,0,0-3.21-5.16H289.76A15.9,15.9,0,0,1,298.63,160.43Z' fill='#85DE76')
path(d='M295.14,171.82h.15l0-.24C295.26,171.66,295.21,171.74,295.14,171.82Z' fill='#85DE76')
path(d='M303.23,152.65a42.47,42.47,0,0,0-4.6,7.78c0,.45.07.9.07,1.36a15.84,15.84,0,0,1-3.38,9.79l0,.24h7.52a22.4,22.4,0,0,0,.42-19.17Z' fill='#85DE76')
path(d='M266.84,161.79a15.88,15.88,0,0,0,3.55,10h24.75c.07-.08.12-.16.18-.24a41.91,41.91,0,0,1,3.31-11.15,15.9,15.9,0,0,0-8.87-12.94h-14A15.91,15.91,0,0,0,266.84,161.79Z' fill='#96DAEA')
path(d='M298.63,160.43a41.91,41.91,0,0,0-3.31,11.15,15.84,15.84,0,0,0,3.38-9.79C298.7,161.33,298.67,160.88,298.63,160.43Z' fill='#96DAEA')
path(d='M314.14,159.87c0,.63.07,1.27.07,1.92a31.38,31.38,0,0,1-1.64,10h4.61a20.63,20.63,0,0,1,37-5.31,6.76,6.76,0,0,0,.1-1.12V154.57a29,29,0,0,0-40.11,5.3Z' fill='#F36279')
path(d='M314.14,159.87a28.85,28.85,0,0,0-5.61,11.95h4a31.38,31.38,0,0,0,1.64-10C314.21,161.14,314.18,160.5,314.14,159.87Z' fill='#F36279')
path(d='M336.92,157.21a20.64,20.64,0,0,0-19.74,14.61h30.65a6.45,6.45,0,0,0,6.32-5.31A20.63,20.63,0,0,0,336.92,157.21Z' fill='#F9EA35')
path(d='M202.49,147.49h-9.55a29,29,0,0,1,5.47,24.33h5.24a29,29,0,0,1-1.16-24.33Z' fill='#d4e81c')
path(d='M203,147.49h-.55a29,29,0,0,0,1.16,24.33H207a37.75,37.75,0,0,0,.56-6.42A37.33,37.33,0,0,0,203,147.49Z' fill='#d4e81c')
path(d='M192.94,147.49H180.32a20.63,20.63,0,0,1,9.4,24.33h8.69a29,29,0,0,0-5.47-24.33Z' fill='#F9EA35')
path(d='M159.9,147.49h-7.73a6.44,6.44,0,0,0-6.42,6.43v11.47a6.44,6.44,0,0,0,4.66,6.17,20.82,20.82,0,0,1-.93-6.16A20.61,20.61,0,0,1,159.9,147.49Z' fill='#F9EA35')
path(d='M180.32,147.49H159.9a20.61,20.61,0,0,0-10.42,17.91,20.82,20.82,0,0,0,.93,6.16,6,6,0,0,0,1.76.26h37.55a20.63,20.63,0,0,0-9.4-24.33Z' fill='#F36279')
g
path(d='M218.28,366.93H202q-2,0-4,.15a54.63,54.63,0,0,0-21.41,6.08V500h54.5c4.08-14.91,6.39-32.95,6.39-51C237.55,416.65,230.09,386.61,218.28,366.93Z' fill='#845003')
path(d='M280.74,366.93H297c1.33,0,2.65.05,4,.15a54.72,54.72,0,0,1,21.41,6.08V500H267.86c-4.08-14.91-6.39-32.95-6.39-51C261.47,416.65,268.94,386.61,280.74,366.93Z' fill='#845003')
g.guy__hover
g
polygon(points='155.13 426.31 131.78 428.32 137.96 500 161.47 499.92 155.13 426.31' fill='#fff0e0')
g.hand
rect(x='124.58' y='349.74' width='14.33' height='57.06' rx='7.17' transform='translate(-134.83 79.3) rotate(-22.52)' fill='#fff0e0')
rect(x='143.96' y='345.5' width='14.33' height='58.7' rx='7.17' transform='translate(-13.46 5.71) rotate(-2.07)' fill='#fff0e0')
circle(cx='139.94' cy='412.93' r='24.58' fill='#fff0e0')
path(d='M151.36,434.63a24.58,24.58,0,0,1-21.43-44.15,24.58,24.58,0,0,0,19.43,45.15,26,26,0,0,0,2.6-1.26Z' fill='#ffd9b0')
rect(x='110.67' y='397.16' width='11.9' height='25.69' rx='5.95' transform='translate(-148.13 75.93) rotate(-22.52)' fill='#fff0e0')
rect(x='119.96' y='385.81' width='13.25' height='31.6' rx='6.63' transform='translate(-144.16 79.1) rotate(-22.52)' fill='#fff0e0')
path(d='M132.64,414.21h0a6.63,6.63,0,0,1-8.66-3.59l-7-16.94a6.69,6.69,0,0,1-.43-1.54,6.69,6.69,0,0,0,.43,3.54l7,16.94a6.63,6.63,0,0,0,8.66,3.59h0a6.64,6.64,0,0,0,4-7.13A6.64,6.64,0,0,1,132.64,414.21Z' fill='#ffd9b0')
path(d='M121.54,419.87h0a6,6,0,0,1-7.77-3.22l-5.28-12.74a5.68,5.68,0,0,1-.37-1.26,5.85,5.85,0,0,0,.37,3.26l5.28,12.74a6,6,0,0,0,7.77,3.22h0a6,6,0,0,0,3.58-6.52A5.94,5.94,0,0,1,121.54,419.87Z' fill='#ffd9b0')
rect(x='138.48' y='383.64' width='14.77' height='45.55' rx='7.39' transform='translate(-278.16 488) rotate(-81.15)' fill='#fff0e0')
path(d='M167.1,404.52a7.38,7.38,0,0,1-8.16,9.56l-30.42-4.73a7.35,7.35,0,0,1-4.88-3,7.39,7.39,0,0,0,5.88,5l30.42,4.73a7.38,7.38,0,0,0,7.16-11.56Z' fill='#ffd9b0')
li.carousel__item.carousel__item--hover
.guy.guy--1
svg.guy__svg(viewBox='0 0 500 500' role="img" alt="Short mustache and medium hair")
defs
linearGradient#guy--1_green(x1='250' x2='250' y2='500' gradientUnits='userSpaceOnUse')
stop(offset='0' stop-color='#71C462')
stop(offset='1' stop-color='#4A944C')
g
rect(width='500' height='500' fill='url(#guy--1_green)')
g.guy__hover
rect(width='500' height='500' fill='#F9EA35')
path.line.line--1(d='M472,500V153.25A121.38,121.38,0,0,0,346.75,32H0' stroke="#fff" stroke-width="4" fill="none")
g(opacity='0.5')
path.line.line--2(d='M434,500V177.91A104,104,0,0,0,322.09,74H0' stroke="#fff" stroke-width="8" fill="none")
path.line.line--3(d='M396,500V203.44A87.54,87.54,0,0,0,296.56,116H0' stroke="#D3C11C" stroke-width="11" fill="none")
g
g
g
circle(cx='334.25' cy='266.5' r='23' fill='#101820')
circle(cx='330.75' cy='297' r='21.5' fill='#101820')
circle(cx='284.75' cy='306' r='53' fill='#101820')
g
circle(cx='165.75' cy='266.5' r='23' fill='#101820')
circle(cx='169.25' cy='297' r='21.5' fill='#101820')
circle(cx='215.25' cy='306' r='53' fill='#101820')
g
path(d='M337.5,254.5h0a12,12,0,0,1-12-12v-26a12,12,0,0,1,12-12h7a19.08,19.08,0,0,1,19,19v5A26.08,26.08,0,0,1,337.5,254.5Z' fill='#fff0e0')
path(d='M162.5,254.5h0a12,12,0,0,0,12-12v-26a12,12,0,0,0-12-12h-7a19.08,19.08,0,0,0-19,19v5A26.08,26.08,0,0,0,162.5,254.5Z' fill='#fff0e0')
g
path(d='M162.5,204.5h-7l-.37,0a79.27,79.27,0,0,1-5.44,46.59,25.78,25.78,0,0,0,12.78,3.39h0a12,12,0,0,0,12-12v-26A12,12,0,0,0,162.5,204.5Z' fill='#ffd9b0')
path(d='M337.5,204.5h7l.37,0a79.27,79.27,0,0,0,5.44,46.59,25.78,25.78,0,0,1-12.78,3.39h0a12,12,0,0,1-12-12v-26A12,12,0,0,1,337.5,204.5Z' fill='#ffd9b0')
rect(x='234' y='319' width='32' height='63' rx='12' fill='#fff0e0')
path(d='M250,345a65.42,65.42,0,0,1,16,2V333a12,12,0,0,0-12-12h-8a12,12,0,0,0-12,12v14A65.42,65.42,0,0,1,250,345Z' fill='#ffd9b0')
rect(x='158.5' y='95.5' width='183' height='246' rx='91.5' fill='#fff0e0')
g.mustache
path(d='M262,258h9a24.07,24.07,0,0,1,24,24H262a12,12,0,0,1-12-12h0A12,12,0,0,1,262,258Z' fill='#101820')
path(d='M240,258h-9a24.07,24.07,0,0,0-24,24h33a12,12,0,0,0,12-12h0A12,12,0,0,0,240,258Z' fill='#101820')
g
rect(x='330.18' y='196.36' width='20.82' height='42.64' rx='6' fill='#101820')
rect(x='149' y='196.36' width='20.82' height='42.64' rx='6' fill='#101820')
g
ellipse(cx='250' cy='248.25' rx='23' ry='18.69' fill='#ffbf7a')
ellipse(cx='250' cy='245.58' rx='23' ry='16.02' fill='#fff0e0')
g.eye
circle(cx='210' cy='208.5' r='9' fill='#101820')
circle(cx='290' cy='208.5' r='9' fill='#101820')
g
path(d='M209,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C194.43,221,201,220.63,209,220.63Z' fill='#ffd9b0')
path(d='M291,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C276.43,221,283,220.63,291,220.63Z' fill='#ffd9b0')
g
path(d='M202.11,125.55a106.34,106.34,0,0,0-3.44-26.87,95.53,95.53,0,0,0-49.75,83.62v35.29A106.15,106.15,0,0,0,202.11,125.55Z' fill='#101820')
path(d='M297.82,125.55a106.33,106.33,0,0,1,3.43-26.87A95.53,95.53,0,0,1,351,182.3v35.29A106.14,106.14,0,0,1,297.82,125.55Z' fill='#101820')
path(d='M346,500H154V415.85A45,45,0,0,1,198.85,371h102.3A45,45,0,0,1,346,415.85Z' fill='#fff0e0')
g
path(d='M180.21,500h-5c0-12-3-45-14-45h19Z' fill='#ffd9b0')
path(d='M319.79,500h5c0-12,3-45,14-45h-19Z' fill='#ffd9b0')
g.guy__hover.guy__hover--reverse
path(d='M351.26,409a54.83,54.83,0,0,0-52.78-40H281.21a40,40,0,0,1-62.42,0H202.52a54.83,54.83,0,0,0-52.78,40L141,455H360Z' fill='#F36279')
polygon(points='322.85 411 177.15 411 171.53 455 328.47 455 322.85 411' opacity='0.2')
rect(x='177.15' y='387' width='145.71' height='113' fill='#F36279')
path(d='M219,129.1h61.21a27,27,0,0,0,27-26.33A98.28,98.28,0,0,0,250,84.42h0A98.58,98.58,0,0,0,183.8,110C189.71,120.78,201.54,129.1,219,129.1Z' fill='#101820')
g
rect(x='194' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
rect(x='283' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
g.guy__hover
g
g.hair.hair--1
path(d='M240.56,429.57s-.73-12.49,5.92-8c5.59,3.82.45,8-1.37,5.24s.09-8.56,3.28-8.33,5.23,4.32,5.23,4.32' fill='none' stroke='#231f20' stroke-linecap='round' stroke-miterlimit='10')
g.hair.hair--2
path(d='M263.54,419.46c1.74-2.39,3.26-7.16.65-8.9s-5.21,1.08-5.43,2.82,2.17,2.17,3.91,1.3,3.69-6.08,1.3-8.47-7-1.59-8-.86c-2.83,1.95-1.39,6.21,2.3,4.25s3.41-5,1.39-7.3c-2.73-3.05-7.08.62-7.08.62' fill='none' stroke='#231f20' stroke-linecap='round' stroke-miterlimit='10')
g.hair.hair--3
path(d='M242.12,406c-3.69-.22-5.21-1.17-5.21-4.65,0-2,3.48-4.48,5.86-3.17s2.29,3,.87,3.69c-3.25,1.52-5.95-1.17-5.95-4.65s4-4.91,6.6-3.39' fill='none' stroke='#231f20' stroke-linecap='round' stroke-miterlimit='10')
g
path(d='M351.26,409a54.83,54.83,0,0,0-52.78-40H281.21L250,454l-31.21-85H202.52a54.83,54.83,0,0,0-52.78,40L141,500H360Z' fill='#2D94A5')
polygon(points='322.85 411.57 250.42 461.57 177.15 411.57 171.53 500 328.47 500 322.85 411.57' opacity='0.2')
polygon(points='322.85 500 177.15 500 177.15 407.31 250 457.31 322.85 407.31 322.85 500' fill='#2D94A5')
g
polygon(points='250.28 500 260.27 500 283 386.92 324.28 369 281.21 364 250.14 453.6 250.28 454 250.28 500' fill='#F36279')
polygon(points='324.28 369 283 386.92 260.27 500 261.5 500 276.6 500 322.1 412.55 297.81 395.57 324.28 369' fill='#96DAEA')
polygon(points='240 500 250 500 250 454 250.14 453.6 219.06 364 176 369 217.28 386.92 240 500' fill='#F36279')
polygon(points='250 500 250.28 500 250.28 454 250.14 453.6 250 454 250 500' fill='#F36279')
polygon(points='217.28 386.92 176 369 202.46 395.57 178.18 412.55 223.68 500 238.77 500 240 500 217.28 386.92' fill='#96DAEA')
path(d='M219,129.1h61.21a27,27,0,0,0,27-26.33A98.28,98.28,0,0,0,250,84.42h0A98.58,98.58,0,0,0,183.8,110C189.71,120.78,201.54,129.1,219,129.1Z')
g.hat
path(d='M395.3,127.6c0-6.38-52.68-9.77-67.67-10.6-2.25-16.7-9.29-64.33-18.16-79.28-10.81-18.25-20-19.51-28.25-19.51S257.43,27.58,250,27.58s-23-9.37-31.22-9.37-17.44,1.26-28.25,19.51c-8.87,15-15.91,62.58-18.16,79.28-15,.83-67.67,4.22-67.67,10.6,0,7.44,81.77,21.63,145.3,21.63h0C313.53,149.23,395.3,135,395.3,127.6Z' fill='#96DAEA')
path(d='M250,79.42c-23.78-.11-47.58-1-71-3-3.18,16-5.53,32.21-6.66,40.62h-.26A459.47,459.47,0,0,0,250,123.12a460.15,460.15,0,0,0,77.57-6.55c-1.14-8.43-3.42-24.16-6.51-39.72C297.62,78.79,273.79,79.47,250,79.42Z' fill='#F36279')
li.carousel__item.carousel__item--hover
.guy.guy--2
svg.guy__svg(viewBox='0 0 500 500' role="img" alt="Medium mustache and medium hair")
defs
linearGradient#guy--2_green(x1='250' x2='250' y2='500' gradientUnits='userSpaceOnUse')
stop(offset='0' stop-color='#85DE76')
stop(offset='1' stop-color='#5AAB5C')
linearGradient#guy--2_grad(x1='207.17' y1='245.77' x2='207.17' y2='188.11' gradientUnits='userSpaceOnUse')
stop(offset='0' stop-color='#F9EA35' stop-opacity='0.9')
stop(offset='1' stop-color='#F9EA35' stop-opacity='0.5')
linearGradient#guy--2_grad-2(x1='292.83' y1='245.77' x2='292.83' y2='188.11' href='#guy--2_grad')
g(style='isolation: isolate')
g
g
rect(width='500' height='500' fill='url(#guy--2_green)')
g.guy__hover
rect(width='500' height='500' fill='#85DE76')
g
polygon.bg-flip.bg-flip--1(points='121.25 135.47 22.32 236.17 159 271.5 121.25 135.47' fill='none' stroke='#fff' stroke-miterlimit='10' stroke-width='4.89' opacity='0.7')
polygon.bg-flip.bg-flip--2(points='408.6 243.76 469.02 296.11 393.47 322.26 408.6 243.76' fill='none' stroke='#fff' stroke-miterlimit='10' stroke-width='6' opacity='0.7')
polygon.bg-flip.bg-flip--3(points='473.69 442.93 453.15 412.7 418.47 436.26 395.17 401.97 361.25 425.01 335.83 387.59 342.44 383.1 363.37 413.9 397.29 390.85 420.59 425.15 455.27 401.59 480.3 438.44 473.69 442.93' fill='#fff')
polygon.bg-flip.bg-flip--4(points='53.27 93.22 46.03 89.8 65.09 49.54 102.99 67.47 120.73 29.99 157.79 47.53 173.72 13.88 180.95 17.3 161.6 58.19 124.53 40.65 106.8 78.13 68.9 60.19 53.27 93.22' fill='#fff')
rect.bg-flip.bg-flip--5(x='48.53' y='337.35' width='67.73' height='12' transform='translate(-218.64 158.81) rotate(-45)' fill='#65BA52')
rect.bg-flip.bg-flip--6(x='439.33' y='128.38' width='12' height='67.73' transform='translate(100.32 487.21) rotate(-63.3)' fill='#65BA52')
polygon(points='395.2 34.96 396.73 70.34 365.32 53.97 395.2 34.96' fill='#fff')
polygon(points='34.01 446.19 69.34 443.81 53.74 475.61 34.01 446.19' fill='#fff')
g
g
g
circle(cx='334.25' cy='266.5' r='23' fill='#101820')
circle(cx='320.75' cy='297' r='21.5' fill='#101820')
g
circle(cx='165.75' cy='266.5' r='23' fill='#101820')
circle(cx='179.25' cy='297' r='21.5' fill='#101820')
g
path(d='M337.5,254.5h0a12,12,0,0,1-12-12v-26a12,12,0,0,1,12-12h7a19.08,19.08,0,0,1,19,19v5A26.08,26.08,0,0,1,337.5,254.5Z' fill='#fff0e0')
path(d='M162.5,254.5h0a12,12,0,0,0,12-12v-26a12,12,0,0,0-12-12h-7a19.08,19.08,0,0,0-19,19v5A26.08,26.08,0,0,0,162.5,254.5Z' fill='#fff0e0')
g
path(d='M162.5,204.5h-7l-.37,0a79.27,79.27,0,0,1-5.44,46.59,25.78,25.78,0,0,0,12.78,3.39h0a12,12,0,0,0,12-12v-26A12,12,0,0,0,162.5,204.5Z' fill='#ffd9b0')
path(d='M337.5,204.5h7l.37,0a79.27,79.27,0,0,0,5.44,46.59,25.78,25.78,0,0,1-12.78,3.39h0a12,12,0,0,1-12-12v-26A12,12,0,0,1,337.5,204.5Z' fill='#ffd9b0')
rect(x='234' y='319' width='32' height='63' rx='12' fill='#fff0e0')
path(d='M250,345a65.42,65.42,0,0,1,16,2V333a12,12,0,0,0-12-12h-8a12,12,0,0,0-12,12v14A65.42,65.42,0,0,1,250,345Z' fill='#ffd9b0')
rect(x='158.5' y='95.5' width='183' height='246' rx='91.5' fill='#fff0e0')
g
circle(cx='240' cy='270' r='12' fill='#101820')
circle(cx='262' cy='270' r='12' fill='#101820')
g.mustache
g.mustache-right
g
path(d='M262,258h9a24.07,24.07,0,0,1,24,24H262a12,12,0,0,1-12-12h0A12,12,0,0,1,262,258Z' fill='#101820')
path(d='M271,281h0a24.07,24.07,0,0,0,24,24h0V281a12,12,0,0,0-12-12h0A12,12,0,0,0,271,281Z' fill='#101820')
g.mustache-left
g
path(d='M231,281h0a24.07,24.07,0,0,1-24,24h0V281a12,12,0,0,1,12-12h0A12,12,0,0,1,231,281Z' fill='#101820')
path(d='M240,258h-9a24.07,24.07,0,0,0-24,24h33a12,12,0,0,0,12-12h0A12,12,0,0,0,240,258Z' fill='#101820')
g
rect(x='330.18' y='196.36' width='20.82' height='65.64' rx='6' fill='#101820')
rect(x='149' y='196.36' width='20.82' height='65.64' rx='6' fill='#101820')
g
ellipse(cx='250' cy='248.25' rx='23' ry='18.69' fill='#ffbf7a')
ellipse(cx='250' cy='245.58' rx='23' ry='16.02' fill='#fff0e0')
g.eye
circle(cx='210' cy='208.5' r='9' fill='#101820')
circle(cx='290' cy='208.5' r='9' fill='#101820')
g
path(d='M209,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C194.43,221,201,220.63,209,220.63Z' fill='#ffd9b0')
path(d='M291,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C276.43,221,283,220.63,291,220.63Z' fill='#ffd9b0')
g
path(d='M202.11,125.55a106.34,106.34,0,0,0-3.44-26.87,95.53,95.53,0,0,0-49.75,83.62v35.29A106.15,106.15,0,0,0,202.11,125.55Z' fill='#101820')
path(d='M297.82,125.55a106.33,106.33,0,0,1,3.43-26.87A95.53,95.53,0,0,1,351,182.3v35.29A106.14,106.14,0,0,1,297.82,125.55Z' fill='#101820')
path(d='M346,500H154V415.85A45,45,0,0,1,198.85,371h102.3A45,45,0,0,1,346,415.85Z' fill='#fff0e0')
g
path(d='M180.21,500h-5c0-12-3-45-14-45h19Z' fill='#ffd9b0')
path(d='M319.79,500h5c0-12,3-45,14-45h-19Z' fill='#ffd9b0')
g
path(d='M351.26,409a54.83,54.83,0,0,0-52.78-40H281.21a40,40,0,0,1-62.42,0H202.52a54.83,54.83,0,0,0-52.78,40L141,455H360Z' fill='#F36279')
polygon(points='322.85 411 177.15 411 171.53 455 328.47 455 322.85 411' opacity='0.2')
rect(x='177.15' y='387' width='145.71' height='113' fill='#F36279')
g
path(d='M280.21,129.1H219c-41.1,0-51-46.1-26-62.1v1c-3,36,37,7,85.21,7,14.79,0,29.05,12.11,29.05,27.05h0A27,27,0,0,1,280.21,129.1Z' fill='#101820')
g
rect(x='194' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
rect(x='283' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
g.guy__hover
g
path(d='M351.26,409a54.83,54.83,0,0,0-52.78-40H281.21a40,40,0,0,1-62.42,0H202.52a54.83,54.83,0,0,0-52.78,40L141,455H360Z' fill='#fff')
g
path(d='M287.21,361.94l73.5,17.26a15.19,15.19,0,0,1,13.19,15.05L369.9,500H265.21Z' fill='#E04C69')
path(d='M212.79,360.94l-73.5,18.26a15.19,15.19,0,0,0-13.19,15.05l5,105.75H234.79Z' fill='#E04C69')
polygon(points='322.85 411 177.15 411 171.53 500 328.47 500 322.85 411' opacity='0.2')
rect(x='177.15' y='387' width='145.71' height='113' fill='#E04C69')
polygon(points='267.79 500 232.21 500 212.21 387 287.79 387 267.79 500' fill='#fff')
g
polygon(points='329.58 370.96 287.21 360.94 260.1 500 261.33 500 276.43 500 321.93 412.55 297.64 395.57 329.58 370.96' fill='#F36279')
polygon(points='170.42 370.96 212.79 360.94 239.9 500 238.67 500 223.57 500 178.07 412.55 202.35 395.57 170.42 370.96' fill='#F36279')
g
g
path(d='M230.45,189.94c-10.26-3-34-2.25-45.88,1.91-12.11,4.23-14.21,21.32-8.73,36.44s26.07,23.07,43,13,21.68-29.26,22.4-37.57S236.59,191.74,230.45,189.94Z' stroke='#B7B7B7' stroke-miterlimit='10' stroke-width='2' fill='url(#guy--2_grad)')
path(d='M269.55,189.94c10.26-3,34-2.25,45.88,1.91,12.11,4.23,14.21,21.32,8.73,36.44s-26.07,23.07-43.05,13-21.68-29.26-22.4-37.57S263.41,191.74,269.55,189.94Z' stroke='#B7B7B7' stroke-miterlimit='10' stroke-width='2' fill='url(#guy--2_grad-2)')
path(d='M241,203.2a35.43,35.43,0,0,1,8.33-.93,33.27,33.27,0,0,1,9.43,1.24' fill='none' stroke='#B7B7B7' stroke-miterlimit='10' stroke-width='3')
line(x1='221.72' y1='188.96' x2='277.85' y2='188.96' fill='none' stroke='#B7B7B7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3')
li.carousel__item.carousel__item--hover
.guy.guy--3
svg.guy__svg(viewBox='0 0 500 500' role="img" alt="Long mustache and short hair")
defs
linearGradient#guy--3_green(x1='250' x2='250' y2='500' gradientUnits='userSpaceOnUse')
stop(offset='0' stop-color='#A0E894')
stop(offset='1' stop-color='#60BF62')
g
rect(width='500' height='500' fill='url(#guy--3_green)')
g.guy__hover
rect(width='500' height='500' fill='#96DAEA')
path.bg-square1(d='M417.75,358.31H82.25v-336h335.5Zm-329.5-6h323.5v-324H88.25Z' fill='#fff' opacity='0.5')
path(d='M94.3,389.35v33.43H60.87V389.35H94.3m2-2H58.87v37.43H96.3V387.35Z' fill='#fff')
rect(x='405.17' y='52.47' width='26' height='26' fill='#fff')
g
rect.grid-top-left( x="317.24" y="301.31" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-top-mid-left( x="361.33" y="301.31" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-top-mid-right( x="405.42" y="301.31" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-top-right( x="449.51" y="301.31" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-top-left( x="317.24" y="345.4" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-top-mid-left( x="361.33" y="345.4" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-top-mid-right( x="405.42" y="345.4" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-top-right( x="449.51" y="345.4" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-bottom-left( x="317.24" y="389.49" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-bottom-mid-left( x="361.33" y="389.49" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-bottom-mid-right( x="405.42" y="389.49" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-mid-bottom-right( x="449.51" y="389.49" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-bottom-left( x="317.24" y="433.58" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-bottom-mid-left( x="361.33" y="433.58" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-bottom-mid-right( x="405.42" y="433.58" width="17.64" height="17.64" fill='#2D94A5')
rect.grid-bottom-right( x="449.51" y="433.58" width="17.64" height="17.64" fill='#2D94A5')
g.guy__hover
path(d='M154.69,217s-12-10.67-39.42-18.33-42.7-7.07-42.7-12.92c0-8.51,82.12-20.74,82.12-20.74Z' fill='#E04C69')
g
g
path(d='M337.5,254.5h0a12,12,0,0,1-12-12v-26a12,12,0,0,1,12-12h7a19.08,19.08,0,0,1,19,19v5A26.08,26.08,0,0,1,337.5,254.5Z' fill='#fff0e0')
path(d='M162.5,254.5h0a12,12,0,0,0,12-12v-26a12,12,0,0,0-12-12h-7a19.08,19.08,0,0,0-19,19v5A26.08,26.08,0,0,0,162.5,254.5Z' fill='#fff0e0')
g
path(d='M162.5,204.5h-7l-.37,0a79.27,79.27,0,0,1-5.44,46.59,25.78,25.78,0,0,0,12.78,3.39h0a12,12,0,0,0,12-12v-26A12,12,0,0,0,162.5,204.5Z' fill='#ffd9b0')
path(d='M337.5,204.5h7l.37,0a79.27,79.27,0,0,0,5.44,46.59,25.78,25.78,0,0,1-12.78,3.39h0a12,12,0,0,1-12-12v-26A12,12,0,0,1,337.5,204.5Z' fill='#ffd9b0')
rect(x='234' y='319' width='32' height='63' rx='12' fill='#fff0e0')
path(d='M250,345a65.42,65.42,0,0,1,16,2V333a12,12,0,0,0-12-12h-8a12,12,0,0,0-12,12v14A65.42,65.42,0,0,1,250,345Z' fill='#ffd9b0')
rect(x='158.5' y='95.5' width='183' height='246' rx='91.5' fill='#fff0e0')
g
circle(cx='240' cy='270' r='12' fill='#101820')
circle(cx='262' cy='270' r='12' fill='#101820')
g
rect(x='330.18' y='196.36' width='20.82' height='67.64' rx='6' fill='#101820')
rect(x='149' y='196.36' width='20.82' height='67.64' rx='6' fill='#101820')
path(d='M157.92,295.06c-5.47-9.76-8.92-20.75-8.92-37.56h20.8c0,13,2.58,20.71,6,26.91a6.79,6.79,0,0,1-2.16,8.94l-6,4A6.79,6.79,0,0,1,157.92,295.06Z' fill='#101820')
path(d='M342.08,295.06c5.48-9.76,8.92-20.75,8.92-37.56H330.2c0,13-2.58,20.71-6,26.91a6.8,6.8,0,0,0,2.16,8.94l6,4A6.79,6.79,0,0,0,342.08,295.06Z' fill='#101820')
g.eye
circle(cx='210' cy='208.5' r='9' fill='#101820')
circle(cx='290' cy='208.5' r='9' fill='#101820')
g
path(d='M209,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C194.43,221,201,220.63,209,220.63Z' fill='#ffd9b0')
path(d='M291,220.63c8,0,14.57.36,15.17,3.37a3.05,3.05,0,0,0,.05-.52c0-3.75-6.82-6.79-15.22-6.79s-15.22,3-15.22,6.79a3.05,3.05,0,0,0,.05.52C276.43,221,283,220.63,291,220.63Z' fill='#ffd9b0')
g
path(d='M202.11,125.55a106.34,106.34,0,0,0-3.44-26.87,95.53,95.53,0,0,0-49.75,83.62v35.29A106.15,106.15,0,0,0,202.11,125.55Z' fill='#101820')
path(d='M297.82,125.55a106.33,106.33,0,0,1,3.43-26.87A95.53,95.53,0,0,1,351,182.3v35.29A106.14,106.14,0,0,1,297.82,125.55Z' fill='#101820')
path(d='M346,500H154V415.85A45,45,0,0,1,198.85,371h102.3A45,45,0,0,1,346,415.85Z' fill='#fff0e0')
g
path(d='M180.21,500h-5c0-12-3-45-14-45h19Z' fill='#ffd9b0')
path(d='M319.79,500h5c0-12,3-45,14-45h-19Z' fill='#ffd9b0')
g
path(d='M351.26,409a54.83,54.83,0,0,0-52.78-40H281.21a40,40,0,0,1-62.42,0H202.52a54.83,54.83,0,0,0-52.78,40L141,455H360Z' fill='#F36279')
polygon(points='322.85 411 177.15 411 171.53 455 328.47 455 322.85 411' opacity='0.2')
rect(x='177.15' y='387' width='145.71' height='113' fill='#F36279')
g
path.moustache-bottom-right(d='M271,279.19v59.43c0,11.21,10.8,20.38,24,20.38V279.19c0-5.61-5.4-10.19-12-10.19h0C276.4,269,271,273.58,271,279.19Z' fill='#101820')
path.moustache-bottom-left(d='M231,279.19v59.43c0,11.21-10.8,20.38-24,20.38V279.19c0-5.61,5.4-10.19,12-10.19h0C225.6,269,231,273.58,231,279.19Z' fill='#101820')
path.moustache-top-right(d='M262,258h9a24.07,24.07,0,0,1,24,24H262a12,12,0,0,1-12-12h0A12,12,0,0,1,262,258Z' fill='#101820')
path.moustache-top-left(d='M240,258h-9a24.07,24.07,0,0,0-24,24h33a12,12,0,0,0,12-12h0A12,12,0,0,0,240,258Z' fill='#101820')
g
ellipse(cx='250' cy='248.25' rx='23' ry='18.69' fill='#ffbf7a')
ellipse(cx='250' cy='245.58' rx='23' ry='16.02' fill='#fff0e0')
path(d='M280.21,129.1H219c-41.1,0-51-46.1-26-62.1v1c-3,36,37,7,85.21,7,14.79,0,29.05,12.11,29.05,27.05h0A27,27,0,0,1,280.21,129.1Z' fill='#101820')
path(d='M207.12,105.47l48.32-5.58c32.44-3.75,36.05-41,14.86-51.39l.09.79c5.65,28.14-28.57,8.9-66.62,13.3-11.68,1.34-21.83,12.21-20.47,24h0A21.49,21.49,0,0,0,207.12,105.47Z' fill='#101820')
g
rect(x='194' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
rect(x='283' y='181.88' width='23' height='7.52' rx='3.76' fill='#101820')
g.guy__hover
g
path(d='M303.9,369H286.8a36.81,36.81,0,0,1-73.6,0H196.06c-.09,59-9.48,107.07-20,109.94v21H323.92V479C313.39,476.09,304,428.05,303.9,369Z' fill='#F9EA35')
g
polygon(points='217.94 496.31 217.94 478.74 237.87 478.74 247.46 470.45 247.46 440.23 238.12 432 212.77 432 203.38 440.23 203.38 452.48 218.09 452.48 218.09 446.56 232.9 446.56 232.9 464.13 212.77 464.13 203.38 472.36 203.38 500 247.46 500 247.46 496.31 217.94 496.31' fill='#D3C11C')
polygon(points='296.62 478.33 291.04 471.46 296.62 464.53 296.62 440.28 287.28 432 261.88 432 252.49 440.28 252.49 452.48 267.05 452.48 267.05 446.56 282.01 446.56 282.01 464.13 266.04 464.13 266.04 478.74 282.01 478.74 282.01 496.31 267.05 496.31 267.05 489.93 252.49 489.93 252.49 499.63 252.9 500 296.2 500 296.62 499.63 296.62 478.33' fill='#D3C11C')
g
path(d='M248.49,39.47H253a6.3,6.3,0,0,1,6.3,6.3v2.56a0,0,0,0,1,0,0H242.19a0,0,0,0,1,0,0V45.77A6.3,6.3,0,0,1,248.49,39.47Z' fill='#E04C69')
path(d='M285.4,48.86l-69.29-3A67.12,67.12,0,0,0,149,113v61.43c16.79-17.48,56-29.74,101.77-29.74s85,12.26,101.76,29.74V116C352.52,78.91,322.2,50.93,285.4,48.86Zm55.39,89.75c-12.9-8.27-31.43-14.7-53.17-18.2v-9a26.59,26.59,0,0,1,53.17,0Z' fill='#F36279')
g(opacity='0.6')
circle(cx='336.44' cy='149.09' r='2.93' fill='#101820')
circle(cx='321.44' cy='142.09' r='2.93' fill='#101820')
circle(cx='306.44' cy='137.09' r='2.93' fill='#101820')
circle(cx='291.44' cy='134.09' r='2.93' fill='#101820')
.bars
.bars__horizontal
.bars__vertical
button.accelerate-btn(aria-live="polite") Accelerate
*,
*::before,
*::after {
box-sizing: border-box;
}
html, body {
min-height: 100%;
}
html {
display: flex;
flex-direction: row;
align-items: center;
}
body {
background-color: #101820;
background-image:
repeating-linear-gradient(90deg, transparent 0, transparent 6px, #101820 7px, #101820 50px),
repeating-linear-gradient(180deg, #1F262D 0, #1F262D 6px, transparent 7px, transparent 50px);
overflow: hidden;
}
.carousel {
width: 100%;
position: relative;
}
.carousel__container {
display: flex;
margin: 0;
list-style: none;
padding: 0;
will-change: transform;
}
.carousel__item {
position: relative;
will-change: transform, box-shadow;
transition: transform 0.2s cubic-bezier(.49,.17,.02,1.31), box-shadow 0.4s ease;
&:hover,
&:focus {
transform: scale(1.1);
z-index: 1;
box-shadow: 0px 0px 10px 0px rgba(black, 0.4);
}
}
.guy {
width: 500px;
height: 500px;
&:hover,
&:focus {
.guy__hover {
display: block;
}
.guy__hover--reverse {
display: none;
}
.eye {
animation: blinkingEyes 4s infinite;
transform-origin: 40% 43%;
}
}
&::before {
content: '';
display: block;
padding-bottom: 100%;
}
}
.guy__hover {
display: none;
}
.guy__hover--reverse {
display: block;
}
.guy__svg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
// Guy 0
.guy--0 {
&:hover,
&:focus {
.circle-top {
animation: circleSpin 8s infinite;
transform-origin: 75.09% 24.15%;
}
.circle-bottom {
animation: circleSpin 15s infinite;
transform-origin: 85.13% 79.44%;
}
.circle-left {
animation: circleSpin 19s infinite;
transform-origin: 27.84% 57.09%;
}
.hand {
animation: guy--0_wave 2.5s infinite;
transform-origin: 29% 85%;
}
.moustache {
animation: guy--0_rubberBand 6s infinite;
transform-origin: 45% 52%;
}
}
}
@keyframes guy--0_wave {
10% {
transform: rotate(0deg);
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}
55% {
transform: rotate(-15deg);
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}
100% {
transform: rotate(0deg);
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}
}
@keyframes guy--0_rubberBand {
from {
transform: scale3d(1, 1, 1);
transform-origin: 51% 52%;
}
12% {
transform: scale3d(1.25, 0.75, 1);
transform-origin: 51% 52%;
}
15% {
transform: scale3d(0.75, 1.25, 1);
transform-origin: 51% 52%;
}
18% {
transform: scale3d(1.15, 0.85, 1);
transform-origin: 51% 52%;
}
22% {
transform: scale3d(.95, 1.05, 1);
transform-origin: 51% 52%;
}
28% {
transform: scale3d(1.05, .95, 1);
transform-origin: 51% 52%;
}
to {
transform: scale3d(1, 1, 1);
transform-origin: 51% 52%;
}
}
// Guy 1
.guy--1 {
.hair {
transform: scale(0);
transition: transform 0.4s cubic-bezier(.42,.17,.19,1.35);
}
.hair--1 {
transform-origin: 250px 400px;
}
.hair--2 {
transform-origin: 300px 400px;
}
.hair--3 {
transform-origin: 220px 410px;
}
.line {
stroke-dashoffset: 887.4;
stroke-dasharray: 887.4 887.4;
}
.line--2 {
stroke-dashoffset: 815;
stroke-dasharray: 815 815;
}
.line--3 {
stroke-dashoffset: 743;
stroke-dasharray: 743 743;
}
&:hover,
&:focus {
.hat {
animation: guy--1_tipHat 0.8s 1s forwards;
transform-origin: 50% 40%;
}
.mustache {
animation: guy--1_mustache 4s infinite;
transform-origin: 50% 50%;
}
.hair {
transform: scale(1);
}
.line {
animation: lineAnimation1 5s ease infinite;
}
.line--2 {
animation-delay: 0.8s;
animation-name: lineAnimation2;
}
.line--3 {
animation-delay: 1.6s;
animation-name: lineAnimation3;
}
}
}
@keyframes lineAnimation1 {
0%, 25%, 100% { stroke-dashoffset: 887.4; }
50%, 75% { stroke-dashoffset: 0; }
}
@keyframes lineAnimation2 {
0%, 25%, 100% { stroke-dashoffset: 815; }
50%, 75% { stroke-dashoffset: 0; }
}
@keyframes lineAnimation3 {
0%, 25%, 100% { stroke-dashoffset: 743; }
50%, 75% { stroke-dashoffset: 0; }
}
@keyframes guy--1_tipHat {
from {
transform: rotate(0deg);
}
to {
transform: rotate(-8deg);
}
}
@keyframes guy--1_mustache {
0%, 20%, 100% {
transform: rotate(0deg);
}
5%, 15% {
transform: rotate(4deg);
}
10% {
transform: rotate(-4deg);
}
}
// Guy 2
.guy--2 {
.bg-flip--1 {
transform-origin: 100px 100px;
}
.bg-flip--2 {
transform-origin: 420px 350px;
}
.bg-flip--3 {
transform-origin: 0 415px;
}
.bg-flip--4 {
transform-origin: 100px 50px;
}
.bg-flip--5,
.bg-flip--6 {
transform-origin: 250px 250px;
}
.bg-flip--7,
.bg-flip--8 {
transform-origin: 45% 50%;
}
&:hover,
&:focus {
.bg-flip {
animation: guy--2_bgflip 2s linear infinite;
}
.bg-flip--1 {
animation-name: guy--2_bgflipX;
animation-delay: 1.75s;
}
.bg-flip--2 {
animation-name: guy--2_bgflipX;
animation-delay: 1.5s;
}
.bg-flip--3 {
animation-name: guy--2_bgflipY;
animation-delay: 0.5s;
}
.bg-flip--4 {
animation-name: guy--2_bgflipY;
animation-delay: 0.75s;
}
.mustache-left {
transform-origin: center center;
animation: guy--2_stache-left 5s infinite;
}
.mustache-right {
transform-origin: center center;
animation: guy--2_stache-right 5s infinite;
}
}
}
@keyframes guy--2_stache-left {
0% {
transform: rotate(0deg);
}
5% {
transform: rotate(0deg);
animation-timing-function: cubic-bezier(.64,-0.96,.28,1.36);
}
15% {
transform: rotate(-13deg);
}
25%, 100% {
transform: rotate(0deg);
}
}
@keyframes guy--2_stache-right {
0% {
transform: rotate(0deg);
}
5% {
transform: rotate(0deg);
animation-timing-function: cubic-bezier(.64,-0.96,.28,1.36);
}
15% {
transform: rotate(13deg);
}
25%, 100% {
transform: rotate(0deg);
}
}
@keyframes guy--2_bgflip {
0%, 25%, 76%, 100% {
transform: scale(1);
}
25.5%, 50%, 75.5% {
transform: scale(-1);
}
}
@keyframes guy--2_bgflipX {
0%, 25%, 76%, 100% {
transform: scaleX(1);
}
26%, 50%, 75% {
transform: scaleX(-1);
}
}
@keyframes guy--2_bgflipY {
0%, 25%, 75.5%, 100% {
transform: scaleY(1);
}
25.5%, 50%, 75% {
transform: scaleY(-1);
}
}
// Guy 3
.guy--3 {
&:hover,
&:focus {
.spinning-square {
animation: circleSpin 8s linear infinite;
transform-origin: 250px 190px;
}
.spinning-square-delay {
animation: circleSpinDelay 8s linear infinite;
transform-origin: 50% 50%;
}
.moustache-bottom-left {
position: absolute;
animation: stache-wave-right 3s infinite;
transform-origin: 46% 56%;
}
.moustache-bottom-right {
position: absolute;
animation: stache-wave-right 3s infinite;
transform-origin: 56% 56%;
}
}
}
.bg-square1 {
position: absolute;
animation: squarescaled 5s infinite;
animation-delay: 2s;
transform-origin: 50% 40%;
}
.grid-top-left, .grid-top-mid-right, .grid-mid-top-right, .grid-mid-top-mid-left, .grid-mid-bottom-left, .grid-mid-bottom-mid-right, .grid-bottom-right, .grid-bottom-mid-left {
animation: gridvisibility1 2s infinite;
}
.grid-top-mid-left, .grid-top-right, .grid-mid-top-left, .grid-mid-top-mid-right, .grid-mid-bottom-mid-left, .grid-mid-bottom-right, .grid-bottom-left, .grid-bottom-mid-right {
animation: gridvisibility2 2s infinite;
}
@keyframes .stache-wave-left {
0% {
transform: rotate(5deg);
animation-timing-function: ease-in-out;
}
50% {
transform: rotate(-11deg);
animation-timing-function: ease-in-out;
}
100% {
transform: rotate(5deg);
}
}
@keyframes stache-wave-right {
0% {
transform: rotate(5deg);
/*animation-timing-function: cubic-bezier(.64,-1.5,.28,1.36);*/
animation-timing-function: ease-in-out;
}
50% {
transform: rotate(-11deg);
animation-timing-function: ease-in-out;
}
100% {
transform: rotate(5deg);
}
}
@keyframes gridvisibility1 {
0% {
opacity: 0%;
}
50% {
opacity: 0%;
}
51% {
opacity: 100%
}
100% {
opacity: 100%;
}
}
@keyframes gridvisibility2 {
0% {
opacity: 100%;
}
50% {
opacity: 100%;
}
51% {
opacity: 0%
}
100% {
opacity: 0%;
}
}
@keyframes squarescaled {
0% {
transform: scale(1,1);
animation-timing-function: ease-in-out;
}
22% {
transform: scale(1,1);
animation-timing-function: ease-in-out;
}
55% {
transform: scale(0.25,0.25);
animation-timing-function: ease-in-out;
}
67% {
transform: scale(0.25,0.25);
animation-timing-function: ease-in-out;
}
100% {
transform: scale(1,1);
animation-timing-function: ease-in-out;
}
}
// Reusable animations
@keyframes circleSpin {
0% {
transform: rotate(0deg);
animation-timing-function: linear;
}
100% {
transform: rotate(360deg);
}
}
@keyframes circleSpinDelay {
0%, 25% {
transform: rotate(0deg);
}
75%, 100% {
transform: rotate(360deg);
}
}
@keyframes blinkingEyes {
0%, 8% {
transform: scaleY(1);
}
12% {
transform: scaleY(0.1);
animation-timing-function: ease;
}
16%, 100% {
transform: scaleY(1);
}
}
.bars {
pointer-events: none;
&.is-active {
pointer-events: auto;
.bars__horizontal,
.bars__vertical {
&::before,
&::after {
transform: translate(0, 0);
}
}
}
}
.bars,
.bars__horizontal,
.bars__vertical {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.bars__horizontal,
.bars__vertical {
&::before,
&::after {
background-color: #101820;
content: '';
position: absolute;
transition: transform 3s ease;
}
}
.bars__horizontal {
&::before,
&::after {
width: 100%;
height: calc(50vh - 250px);
left: 0;
}
&::before {
top: 0;
transform: translateY(-100%);
}
&::after {
bottom: 0;
transform: translateY(100%);
}
}
.bars__vertical {
&::before,
&::after {
height: 100%;
width: calc(50vw - 250px);
top: 0;
}
&::before {
left: 0;
transform: translateX(-100%);
}
&::after {
right: 0;
transform: translateX(100%);
}
}
.accelerate-btn {
position: absolute;
transform: translateX(-50%);
left: 50%;
bottom: 10px;
padding: 1.5em 2.5em;
border: 1px solid;
background: none;
color: #85DE76;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: 700;
font-size: 0.75em;
@media screen and (min-height: 650px) {
bottom: auto;
top: calc(50vh + 290px);
}
@media (prefers-reduced-motion: reduce) {
display: none;
}
}
.accelerate-btn {
-webkit-transition: border-color 0.4s, color 0.4s;
transition: border-color 0.4s, color 0.4s;
}
.accelerate-btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #85DE76;
z-index: -1;
opacity: 0;
-webkit-transform: scale3d(0.7, 1, 1);
transform: scale3d(0.7, 1, 1);
-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
transition: transform 0.4s, opacity 0.4s;
-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.accelerate-btn:hover {
color: #101820;
border-color: #85DE76;
}
.accelerate-btn:hover::before {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.accelerate-btn:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(16, 24, 32, 1), 0 0 0 4px rgba(255, 255, 255, 1);
}
// Carousel set up, imported from unpkg
// Repo: https://github.com/wethegit/wtc-controller-carousel
const carouselEl = document.querySelector('.carousel');
const myCarousel = new window.wtcControllerCarousel(carouselEl);
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (reduceMotion) myCarousel.paused = true;
// Fancy accelerate effect, you don't need any of this to work with the Carousel
// Tween Repo: https://github.com/wethegit/wtc-tween
const tween = window.wtcTween.default; // tween library
const bars = document.querySelector('.bars');
const acceleratebtn = document.querySelector('.accelerate-btn');
let stepD = 0; // used to calculate frames
let raf = null; // to save our animation
let state = false; // to save our acceleration state
let animating = false; /// to save the tween state
// frame animation
const step = function(now, i) {
// each 2 seconds call the createNewObject() function
if(!stepD || now - stepD >= 144) {
stepD = now;
myCarousel.offset = i * -500;
}
raf = requestAnimationFrame((d) => step(d, i+1 > 3 ? 0 : i+1));
}
const accelerateToggle = function() {
if (animating || reduceMotion) return; // don't do anything if in the middle of a tween
animating = true;
bars.classList.toggle('is-active'); // toggle bars
// accelerate! 🚀
if (!state) {
acceleratebtn.innerHTML = 'Stop!'
tween([0, 0, 2], [50, 250, 144], (val) => {
const [leftPercent, leftOffset, speed] = val;
// this helps center the carousel
carouselEl.style.left = `calc(${leftPercent}% - ${leftOffset}px)`;
// oh yeah! ⚡️
myCarousel.speed = speed;
}, {
duration: 3000,
onComplete: () => {
// pause and reset carousel
myCarousel.paused = true;
myCarousel.offset = 0;
// trigger stepped animation
raf = requestAnimationFrame((d) => step(d, 0));
animating = false;
}
})
}
// decelerate 🙁
else {
acceleratebtn.innerHTML = 'Accelerate'
// cancel our steps
cancelAnimationFrame(raf);
// reset carousel
myCarousel.speed = 2;
myCarousel.paused = false;
// nice and smooth centering
tween([50, 250], [0, 0], (val) => {
const [leftPercent, leftOffset] = val;
carouselEl.style.left = `calc(${leftPercent}% - ${leftOffset}px)`;
}, {
duration: 3000,
onComplete: () => {
animating = false;
}
})
}
// update state
state = !state;
}
acceleratebtn.addEventListener('click', accelerateToggle);
Also see: Tab Triggers