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.
<div class="hat-1"></div>
<div class="hat-2"></div>
<div class="hat-3"></div>
<div class="hat-4"></div>
<div class="hat-5"></div>
<div class="hat-6"></div>
<div class="hat-7"></div>
<div class="hat-8"></div>
<div class="hat-9"></div>
<div class="hat-10"></div>
<div class="hat-11"></div>
<div class="hat-12"></div>
<div class="hat-13"></div>
<div class="hat-14"></div>
<div class="hat-15"></div>
<div class="hat-16"></div>
<div class="hat-17"></div>
<div class="hair-1"></div>
<div class="hair-2"></div>
<div class="hair-3"></div>
<div class="hair-4"></div>
<div class="hair-5"></div>
<div class="hair-6"></div>
<div class="hair-7"></div>
<div class="hair-8"></div>
<div class="hair-9"></div>
<div class="hair-10"></div>
<div class="hair-11"></div>
<div class="hair-12"></div>
<div class="hair-13"></div>
<div class="hair-14"></div>
<div class="hair-15"></div>
<div class="hair-16"></div>
<div class="hair-17"></div>
<div class="hair-18"></div>
<div class="hair-19"></div>
<div class="hair-20"></div>
<div class="hair-21"></div>
<div class="hair-22"></div>
<div class="hair-23"></div>
<div class="hair-24"></div>
<div class="hair-25"></div>
<div class="hair-26"></div>
<div class="hair-27"></div>
<div class="hair-28"></div>
<div class="hair-29"></div>
<div class="hair-30"></div>
<div class="hair-31"></div>
<div class="hair-32"></div>
<div class="shirt-1"></div>
<div class="shirt-2"></div>
<div class="shirt-3"></div>
<div class="shirt-4"></div>
<div class="shirt-5"></div>
<div class="shirt-6"></div>
<div class="shirt-7"></div>
<div class="shirt-8"></div>
<div class="shirt-9"></div>
<div class="shirt-10"></div>
<div class="shirt-11"></div>
<div class="shirt-12"></div>
<div class="shirt-13"></div>
<div class="face-1"></div>
<div class="face-2"></div>
<div class="face-3"></div>
<div class="face-4"></div>
<div class="face-5"></div>
<div class="eye-right-1"></div>
<div class="eye-right-2"></div>
<div class="eye-right-3"></div>
<div class="eye-right-4"></div>
<div class="eye-right-5"></div>
<div class="eye-right-6"></div>
<div class="eye-right-7"></div>
<div class="eye-left-1"></div>
<div class="eye-left-2"></div>
<div class="eye-left-3"></div>
<div class="eye-left-4"></div>
<div class="eye-left-5"></div>
<div class="eye-left-6"></div>
<div class="eye-left-7"></div>
<div class="eye-left-8"></div>
<div class="eye-left-9"></div>
<div class="nose-1"></div>
<div class="nose-2"></div>
<div class="nose-3"></div>
<div class="nose-4"></div>
<div class="nose-5"></div>
<div class="nose-6"></div>
<div class="moustache-1"></div>
<div class="moustache-2"></div>
<div class="moustache-3"></div>
<div class="moustache-4"></div>
<div class="moustache-5"></div>
<div class="moustache-6"></div>
<div class="moustache-7"></div>
<div class="moustache-8"></div>
<div class="moustache-9"></div>
<div class="mouth-1"></div>
<div class="mouth-2"></div>
<div class="mouth-3"></div>
<div class="mouth-4"></div>
<div class="beard-1"></div>
<div class="beard-2"></div>
<div class="beard-3"></div>
<div class="beard-4"></div>
<div class="beard-5"></div>
// colors
$bg-color: #fff;
$dark-color: #000;
html,
body {
width: 100%;
height: 100%;
background: $bg-color;
overflow: hidden;
* {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
box-sizing: border-box;
&:before,
&:after {
content: "";
position: absolute;
}
}
}
.hat {
&-1 {
width: 31vmin;
height: 20vmin;
background: $dark-color;
top: -63vmin;
left: -1vmin;
border-radius: 37% 0 0 0;
&::before {
width: 3vmin;
height: 5vmin;
background: $dark-color;
top: -2.2vmin;
left: 27vmin;
}
&::after {
width: 5.5vmin;
height: 3vmin;
background: $bg-color;
top: -2.7vmin;
left: 22.7vmin;
transform: skewX(-35deg) skewY(10deg);
border-radius: 0 0 30% 0;
}
}
&-2 {
width: 5.3vmin;
height: 4.7vmin;
background: $dark-color;
top: -68vmin;
left: 32.5vmin;
border-radius: 0 0 5% 0;
&::before {
width: 7vmin;
height: 4vmin;
background: $bg-color;
transform: rotate(3deg);
border-radius: 50%;
}
&::after {
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: 3vmin;
left: 3.9vmin;
transform: rotate(40deg);
}
}
&-3 {
width: 5vmin;
height: 3vmin;
background: $dark-color;
top: -69vmin;
left: 29.7vmin;
transform: skewX(15deg);
border-radius: 50%;
&::before {
width: 5vmin;
height: 1vmin;
background: $bg-color;
top: -0.7vmin;
left: 3vmin;
}
&::after {
width: 4vmin;
height: 2vmin;
background: $dark-color;
top: 2vmin;
left: -1.6vmin;
transform: skewX(15deg);
}
}
&-4 {
width: 5vmin;
height: 4.4vmin;
background: $dark-color;
top: -71.2vmin;
left: 29.3vmin;
transform: skewX(10deg);
border-radius: 0 100% 30% 0;
&::before {
width: 5vmin;
height: 5vmin;
background: $bg-color;
top: -4vmin;
left: 1.1vmin;
transform: skewX(-22deg);
border-radius: 0 0 0 100%;
}
&::after {
width: 2vmin;
height: 2.5vmin;
background: $bg-color;
top: -6.4vmin;
left: 2.2vmin;
transform: skewX(-20deg);
}
}
&-5 {
width: 0.8vmin;
height: 3vmin;
background: $dark-color;
top: -84.5vmin;
left: 25.8vmin;
transform: rotate(15deg);
border-radius: 50%;
&::before {
width: 7.2vmin;
height: 11vmin;
background: $dark-color;
top: 2.6vmin;
left: 9.4vmin;
transform: rotate(-42deg);
}
&::after {
width: 10vmin;
height: 5vmin;
background: $bg-color;
top: 0.35vmin;
left: 6vmin;
transform: rotate(-4deg);
}
}
&-6 {
width: 3vmin;
height: 4.7vmin;
background: $dark-color;
top: -65.6vmin;
left: 53.4vmin;
transform: rotate(-28deg);
border-radius: 50%;
&::before {
width: 0.95vmin;
height: 6vmin;
background: $bg-color;
top: -3.5vmin;
left: -5.5vmin;
transform: rotate(-4.5deg);
border-radius: 50%;
}
&::after {
width: 1.1vmin;
height: 5.4vmin;
background: $bg-color;
top: 1vmin;
left: -5.8vmin;
transform: rotate(10deg);
border-radius: 50%;
}
}
&-7 {
width: 5vmin;
height: 2vmin;
background: $bg-color;
top: -74vmin;
left: 39vmin;
&::before {
width: 1.35vmin;
height: 3.9vmin;
background: $bg-color;
top: 4.9vmin;
left: 8.2vmin;
transform: rotate(22deg);
border-radius: 2vmin;
}
&::after {
width: 1.3vmin;
height: 1.5vmin;
background: $bg-color;
top: 4.8vmin;
left: 8.75vmin;
transform: rotate(22deg);
border-radius: 50%;
}
}
&-8 {
width: 1.5vmin;
height: 6vmin;
background: $dark-color;
top: -54vmin;
left: 49vmin;
transform: rotate(33deg);
&::before {
width: 2vmin;
height: 4vmin;
background: $bg-color;
top: -1.4vmin;
left: 1.5vmin;
border-radius: 1.4vmin 0 0 0;
}
&::after {
width: 2vmin;
height: 4vmin;
background: $bg-color;
top: -4vmin;
left: 1.65vmin;
transform: rotate(2.5deg);
}
}
&-9 {
width: 1vmin;
height: 5vmin;
background: $bg-color;
top: -57.6vmin;
left: 48.9vmin;
transform: rotate(30deg);
border-radius: 0 0 20% 10%;
&::before {
width: 1vmin;
height: 6vmin;
background: $bg-color;
left: 0.35vmin;
transform: rotate(5deg);
border-radius: 50%;
}
&::after {
width: 0.5vmin;
height: 3vmin;
background: $bg-color;
top: 4.7vmin;
left: 0.3vmin;
transform: rotate(13deg);
border-radius: 50%;
}
}
&-10 {
width: 1.1vmin;
height: 4vmin;
background: $dark-color;
top: -49vmin;
left: 47vmin;
transform: rotate(22deg);
border-radius: 40% 0 0 0;
&::before {
width: 0.7vmin;
height: 2vmin;
background: $bg-color;
top: -0.8vmin;
left: -1vmin;
transform: rotate(30deg);
border-radius: 0 100% 0 0;
}
&::after {
width: 2vmin;
height: 5vmin;
background: $dark-color;
top: 1.8vmin;
left: -0.25vmin;
transform: rotate(-16deg);
border-radius: 12% 0 0 60%;
}
}
&-11 {
width: 10vmin;
height: 4vmin;
background: $dark-color;
top: -44.3vmin;
left: 36vmin;
transform: rotate(-23deg);
&::before {
width: 1.4vmin;
height: 3vmin;
background: $bg-color;
top: 3.95vmin;
left: 7.4vmin;
border-radius: 50%;
}
&::after {
width: 2vmin;
height: 4vmin;
background: $bg-color;
top: 5vmin;
left: 8.5vmin;
transform: rotate(55deg);
}
}
&-12 {
width: 4vmin;
height: 2vmin;
background: $bg-color;
top: -38vmin;
left: 46.5vmin;
&::before {
width: 10vmin;
height: 2vmin;
background: $bg-color;
top: -4vmin;
left: -7.5vmin;
transform: rotate(-26deg);
border-radius: 0 0 100% 0;
}
&::after {
width: 10vmin;
height: 2vmin;
background: $bg-color;
top: -5vmin;
left: -8.5vmin;
transform: rotate(-26deg);
border-radius: 0 0 30% 0;
}
}
&-13 {
width: 3vmin;
height: 13vmin;
background: $dark-color;
top: -51.6vmin;
left: 29.3vmin;
transform: rotate(9deg);
&::before {
width: 2.5vmin;
height: 4.2vmin;
background: $dark-color;
top: -0.5vmin;
left: 1.8vmin;
transform: rotate(14deg);
border-radius: 60% 0 50% 0;
}
&::after {
width: 2.5vmin;
height: 4.5vmin;
background: $bg-color;
top: -0.5vmin;
left: 3.3vmin;
transform: rotate(8deg);
border-radius: 100% 0 0 0;
}
}
&-14 {
width: 15vmin;
height: 6vmin;
background: $dark-color;
top: -41vmin;
left: 14.5vmin;
transform: rotate(-3deg);
border-radius: 0 0 22% 0;
&::before {
width: 12vmin;
height: 5vmin;
background: $dark-color;
top: 2.7vmin;
left: -7.7vmin;
transform: rotate(-25deg);
border-radius: 50%;
}
&::after {
width: 5vmin;
height: 5vmin;
background: $dark-color;
top: 5vmin;
left: -7.8vmin;
transform: rotate(10deg) skewX(-35deg);
}
}
&-15 {
width: 13.5vmin;
height: 10vmin;
background: $dark-color;
top: -30vmin;
left: -21.8vmin;
&::before {
width: 21vmin;
height: 5vmin;
background: $dark-color;
top: -3vmin;
left: -1vmin;
}
&::after {
width: 21vmin;
height: 8vmin;
background: $dark-color;
top: -0.4vmin;
left: -19.8vmin;
transform: rotate(-2deg) skewX(10deg);
border-radius: 15% 0 30.5% 60%;
}
}
&-16 {
width: 22vmin;
height: 7vmin;
background: $dark-color;
top: -69.5vmin;
left: -27.2vmin;
transform: rotate(-32.3deg);
border-radius: 50%;
&::before {
width: 15vmin;
height: 5vmin;
background: $dark-color;
top: 0.8vmin;
left: -5vmin;
transform: rotate(1deg);
border-radius: 20% 0 0 0;
}
&::after {
width: 20vmin;
height: 7vmin;
background: $dark-color;
top: 0.9vmin;
left: -15vmin;
transform: rotate(-6deg);
border-radius: 50%;
}
}
&-17 {
width: 10vmin;
height: 3vmin;
background: $dark-color;
top: -42.8vmin;
left: -67.6vmin;
transform: rotate(-34deg);
border-radius: 50%;
&::before {
width: 20vmin;
height: 10vmin;
background: $dark-color;
top: 2vmin;
left: 7vmin;
}
}
}
.hair {
&-1 {
width: 15vmin;
height: 20vmin;
background: $dark-color;
top: -12vmin;
left: -23.5vmin;
transform: rotate(12deg);
border-radius: 0 20% 0 10%;
&::before {
width: 20.2vmin;
height: 20vmin;
background: $dark-color;
top: 15vmin;
left: 1.1vmin;
transform: rotate(-8.5deg);
border-radius: 10% 0 0 0;
}
&::after {
width: 10vmin;
height: 22vmin;
background: $dark-color;
top: 0.6vmin;
left: 9.35vmin;
transform: rotate(-24deg) skewY(10deg);
}
}
&-2 {
width: 6.5vmin;
height: 20vmin;
background: $dark-color;
top: -11.5vmin;
left: 48vmin;
transform: skewY(-5deg);
border-radius: 0 50% 0 0;
&::before {
width: 7vmin;
height: 2vmin;
background: $dark-color;
top: 1.6vmin;
left: 2.2vmin;
transform: rotate(34deg) skewX(-30deg);
}
&::after {
width: 3.5vmin;
height: 1vmin;
background: $dark-color;
top: 4.6vmin;
left: 7.3vmin;
transform: rotate(50deg) skewX(40deg) skewY(-5deg);
border-radius: 0 100% 0 0;
}
}
&-3 {
width: 2.2vmin;
height: 4.8vmin;
background: $dark-color;
top: -19vmin;
left: 57.8vmin;
transform: rotate(-26deg) skewY(-50deg);
border-radius: 0 0 100% 0;
&::before {
width: 1.5vmin;
height: 3vmin;
background: $dark-color;
top: -2.5vmin;
left: -0.5vmin;
}
&::after {
width: 2.3vmin;
height: 10vmin;
background: $bg-color;
top: -1.8vmin;
left: -2.1vmin;
transform: rotate(2deg);
border-radius: 50%;
}
}
&-4 {
width: 1vmin;
height: 7.8vmin;
background: $bg-color;
top: -10vmin;
left: 55.1vmin;
transform: rotate(-3deg);
&::before {
width: 8.1vmin;
height: 15vmin;
background: $dark-color;
top: 5vmin;
left: -7.6vmin;
transform: rotate(-12deg);
border-radius: 50% 0 0 0;
}
&::after {
width: 10vmin;
height: 17vmin;
background: $dark-color;
top: 10vmin;
left: -10vmin;
transform: rotate(20deg);
border-radius: 0 50% 0 0;
}
}
&-5 {
width: 15vmin;
height: 5.4vmin;
background: $dark-color;
top: 29vmin;
left: 20vmin;
&::before {
width: 8vmin;
height: 15vmin;
background: $dark-color;
top: -9vmin;
left: -5.9vmin;
transform: rotate(-40deg);
}
&::after {
width: 5vmin;
height: 3vmin;
background: $dark-color;
top: 0.5vmin;
left: -6vmin;
}
}
&-6 {
width: 10vmin;
height: 13vmin;
background: $dark-color;
top: 28vmin;
left: 50.5vmin;
transform: rotate(-6.5deg);
border-radius: 0 20% 0 0;
&::before {
width: 30vmin;
height: 16vmin;
background: $dark-color;
top: 10vmin;
left: -20vmin;
}
&::after {
width: 27vmin;
height: 12vmin;
background: $dark-color;
top: 4vmin;
left: -23vmin;
}
}
&-7 {
width: 1.4vmin;
height: 5vmin;
background: $bg-color;
top: 34.4vmin;
left: -0.3vmin;
transform: rotate(-25deg);
border-radius: 2vmin;
&::before {
width: 1vmin;
height: 5vmin;
background: $bg-color;
top: 1.1vmin;
left: -0.2vmin;
transform: rotate(-3deg);
border-radius: 50%;
}
&::after {
width: 1.7vmin;
height: 6vmin;
background: $bg-color;
top: 2.2vmin;
left: 0.05vmin;
transform: rotate(-9deg);
border-radius: 40% 0 0 0;
}
}
&-8 {
width: 10vmin;
height: 15vmin;
background: $bg-color;
top: 55.3vmin;
left: 19.5vmin;
transform: rotate(-11.5deg) skewX(10deg);
border-radius: 0 0 0 100%;
&::before {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: 0.1vmin;
left: -0.2vmin;
transform: rotate(-16deg);
}
&::after {
width: 10vmin;
height: 15vmin;
background: $dark-color;
top: 0.8vmin;
left: 1.7vmin;
transform: rotate(-1deg);
border-radius: 0 0 0 100%;
}
}
&-9 {
width: 12vmin;
height: 1.5vmin;
background: $dark-color;
top: 41vmin;
left: 19vmin;
transform: rotate(-12deg) skewX(20deg);
&::before {
width: 3vmin;
height: 6vmin;
background: $bg-color;
top: 10.6vmin;
left: 0.5vmin;
transform: rotate(-11deg) skewY(20deg);
}
&::after {
width: 2vmin;
height: 5vmin;
background: $bg-color;
top: 14vmin;
left: 0.15vmin;
transform: rotate(12deg);
}
}
&-10 {
width: 2.8vmin;
height: 3vmin;
background: $bg-color;
top: 37.5vmin;
left: 15.8vmin;
transform: skewX(10deg);
border-radius: 50%;
&::before {
width: 2.5vmin;
height: 3vmin;
background: $bg-color;
top: 1.3vmin;
left: 1.1vmin;
transform: rotate(-43deg);
}
&::after {
width: 2vmin;
height: 3.4vmin;
background: $dark-color;
top: 0.3vmin;
left: 3vmin;
transform: rotate(-34deg);
border-radius: 50%;
}
}
&-11 {
width: 1.5vmin;
height: 3vmin;
background: $bg-color;
top: 44vmin;
left: 20.6vmin;
&::before {
width: 0.6vmin;
height: 2.5vmin;
background: $dark-color;
top: -0.2vmin;
left: 1vmin;
transform: rotate(2deg);
border-radius: 0 0 0 100%;
}
&::after {
width: 1.1vmin;
height: 8vmin;
background: $bg-color;
top: 2.3vmin;
left: 1vmin;
transform: rotate(-8deg);
}
}
&-12 {
width: 1.5vmin;
height: 2vmin;
background: $bg-color;
top: 47.1vmin;
left: 19.8vmin;
transform: skewX(45deg);
border-radius: 30% 0 40% 0;
&::before {
width: 0.4vmin;
height: 6.5vmin;
background: $bg-color;
top: 2.4vmin;
left: -4vmin;
transform: skewX(-45deg) rotate(-16deg);
}
&::after {
width: 1vmin;
height: 1.5vmin;
background: $dark-color;
top: 2.2vmin;
left: -2vmin;
}
}
&-13 {
width: 0.4vmin;
height: 3vmin;
background: $bg-color;
top: 53.6vmin;
left: 18.8vmin;
transform: rotate(-16deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 3vmin;
background: $bg-color;
top: 3.2vmin;
left: 0.3vmin;
transform: skewY(45deg);
}
&::after {
width: 0.5vmin;
height: 2vmin;
background: $dark-color;
top: 1vmin;
left: 0.5vmin;
transform: rotate(5deg);
border-radius: 50%;
}
}
&-14 {
width: 1.3vmin;
height: 3vmin;
background: $dark-color;
top: 51.8vmin;
left: 20.9vmin;
transform: rotate(-16deg) skewX(5deg);
border-radius: 50%;
&::before {
width: 1.9vmin;
height: 0.7vmin;
background: $dark-color;
top: 2.7vmin;
left: -0.6vmin;
transform: rotate(-55deg);
border-radius: 100% 0 10% 0;
}
&::after {
width: 1vmin;
height: 3vmin;
background: $dark-color;
top: -0.45vmin;
left: 1.6vmin;
transform: rotate(10deg);
border-radius: 50%;
}
}
&-15 {
width: 3.4vmin;
height: 5.2vmin;
background: $dark-color;
top: 65vmin;
left: 30.9vmin;
transform: rotate(-48deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 2.4vmin;
background: $dark-color;
top: -1.5vmin;
left: 1vmin;
transform: rotate(10deg);
border-radius: 20% 0 0 0;
}
&::after {
width: 4vmin;
height: 6.5vmin;
background: $bg-color;
left: 1.1vmin;
transform: rotate(14deg);
border-radius: 50%;
}
}
&-16 {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: 69vmin;
left: 33.5vmin;
transform: skewX(20deg);
&::before {
width: 2.5vmin;
height: 9.5vmin;
background: $bg-color;
top: -15.3vmin;
left: 0.5vmin;
transform: skewX(-20deg) rotate(-5deg) skewY(7deg);
border-radius: 4vmin;
}
&::after {
width: 3vmin;
height: 5vmin;
background: $bg-color;
top: -7.4vmin;
left: -0.5vmin;
transform: rotate(-4deg);
border-radius: 20% 0 0 0;
}
}
&-17 {
width: 1vmin;
height: 6vmin;
background: $bg-color;
top: 47.7vmin;
left: 30vmin;
transform: skewY(45deg);
&::before {
width: 1vmin;
height: 3.5vmin;
background: $dark-color;
top: -0.6vmin;
left: 0.75vmin;
transform: skewY(-45deg);
border-radius: 50%;
}
&::after {
width: 6vmin;
height: 8vmin;
background: $bg-color;
top: 2vmin;
left: 1.7vmin;
transform: skewY(-30deg);
}
}
&-18 {
width: 4vmin;
height: 1vmin;
background: $bg-color;
top: 52vmin;
left: 35vmin;
transform: rotate(55deg) skewX(35deg);
border-radius: 0 0 0 10vmin;
&::before {
width: 2vmin;
height: 4.7vmin;
background: $dark-color;
top: 0.6vmin;
left: 0.9vmin;
transform: rotate(-35deg);
border-radius: 0 40% 0 0;
}
&::after {
width: 1.8vmin;
height: 0.55vmin;
background: $bg-color;
top: 1.65vmin;
left: 1vmin;
transform: rotate(-30deg);
border-radius: 1vmin 0 0 0.2vmin;
}
}
&-19 {
width: 0.5vmin;
height: 2vmin;
background: $bg-color;
top: 57vmin;
left: 34.5vmin;
&::before {
width: 1.1vmin;
height: 0.8vmin;
background: $bg-color;
top: 0.95vmin;
left: -0.6vmin;
transform: rotate(40deg) skewY(-20deg);
border-radius: 40% 0 0 20%;
}
&::after {
width: 1.3vmin;
height: 3vmin;
background: $bg-color;
top: 1.8vmin;
left: -0.55vmin;
border-radius: 50%;
}
}
&-20 {
width: 0.8vmin;
height: 1.7vmin;
background: $dark-color;
top: 61.3vmin;
left: 32.6vmin;
border-radius: 50%;
&::before {
width: 0.8vmin;
height: 1.5vmin;
background: $dark-color;
top: 0.5vmin;
left: -0.4vmin;
border-radius: 50%;
}
&::after {
width: 1.5vmin;
height: 0.4vmin;
background: $bg-color;
top: 2.1vmin;
left: -0.7vmin;
transform: rotate(35deg);
}
}
&-21 {
width: 0.6vmin;
height: 1.45vmin;
background: $dark-color;
top: 55.8vmin;
left: 31.5vmin;
border-radius: 50%;
&::before {
width: 0.6vmin;
height: 1.1vmin;
background: $bg-color;
top: 2.2vmin;
left: -0.15vmin;
border-radius: 50%;
}
&::after {
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: -1.1vmin;
left: 1.5vmin;
transform: rotate(14deg);
border-radius: 0 0 0 100%;
}
}
&-22 {
width: 0.8vmin;
height: 1.4vmin;
background: $bg-color;
top: 47.5vmin;
left: 37.6vmin;
border-radius: 1vmin;
&::before {
width: 1.7vmin;
height: 4vmin;
background: $bg-color;
left: 0.55vmin;
transform: rotate(-26deg);
border-radius: 30% 35% 0 0;
}
&::after {
width: 1.5vmin;
height: 3vmin;
background: $bg-color;
top: 2vmin;
left: 0.8vmin;
}
}
&-23 {
width: 4vmin;
height: 2vmin;
background: $bg-color;
top: 25.5vmin;
left: 45.2vmin;
transform: rotate(52deg);
border-radius: 0 3vmin 0 2.6vmin;
&::before {
width: 3.3vmin;
height: 1.5vmin;
background: $bg-color;
top: -0.25vmin;
left: 0.1vmin;
transform: skewX(-5deg);
border-radius: 50%;
}
&::after {
width: 0.5vmin;
height: 2.3vmin;
background: $bg-color;
top: 0.1vmin;
left: 3.4vmin;
transform: rotate(-23deg);
border-radius: 50%;
}
}
&-24 {
width: 0.6vmin;
height: 2vmin;
background: $bg-color;
top: 31vmin;
left: 46.2vmin;
&::before {
width: 1vmin;
height: 1.9vmin;
background: $bg-color;
top: 1vmin;
left: -0.3vmin;
border-radius: 50%;
}
&::after {
width: 1vmin;
height: 1vmin;
background: $bg-color;
top: 0.25vmin;
left: -0.25vmin;
transform: rotate(45deg);
border-radius: 0 100% 0 0;
}
}
&-25 {
width: 1vmin;
height: 1vmin;
background: $bg-color;
top: 33.5vmin;
left: 45.7vmin;
transform: rotate(40deg);
border-radius: 0 100% 0 50%;
&::before {
width: 1vmin;
height: 1.2vmin;
background: $dark-color;
top: -0.3vmin;
left: -0.65vmin;
border-radius: 50%;
}
&::after {
width: 0.9vmin;
height: 2.6vmin;
background: $bg-color;
top: 1vmin;
left: 1.1vmin;
transform: rotate(-36deg);
border-radius: 1vmin 0 0 1vmin;
}
}
&-26 {
width: 1vmin;
height: 1.3vmin;
background: $dark-color;
top: 37.7vmin;
left: 44.5vmin;
transform: skewY(15deg);
border-radius: 0 20% 80% 0;
&::before {
width: 3.5vmin;
height: 2vmin;
background: $bg-color;
top: 3.2vmin;
transform: rotate(40deg);
border-radius: 0 2vmin 0 60%;
}
&::after {
width: 1.2vmin;
height: 0.4vmin;
background: $dark-color;
top: 2.5vmin;
left: 1.1vmin;
transform: rotate(35deg);
border-radius: 50%;
}
}
&-27 {
width: 2vmin;
height: 1vmin;
background: $bg-color;
top: 47.1vmin;
left: 39.2vmin;
border-radius: 10%;
&::before {
width: 2vmin;
height: 1vmin;
background: $bg-color;
top: -1vmin;
left: 1vmin;
transform: rotate(-45deg);
border-radius: 50%;
}
&::after {
width: 3.5vmin;
height: 14vmin;
background: $bg-color;
left: 1.4vmin;
transform: rotate(-26deg);
border-radius: 100% 0 0 0;
}
}
&-28 {
width: 2vmin;
height: 4vmin;
background: $bg-color;
top: 52vmin;
left: 46.6vmin;
&::before {
width: 2vmin;
height: 2.2vmin;
background: $bg-color;
top: 2.2vmin;
left: 0.5vmin;
transform: rotate(40deg);
border-radius: 0 0.5vmin 0 0;
}
&::after {
width: 2.2vmin;
height: 4vmin;
background: $bg-color;
top: 3vmin;
left: 0.1vmin;
transform: rotate(15deg);
}
}
&-29 {
width: 1.4vmin;
height: 3.7vmin;
background: $dark-color;
top: 58.3vmin;
left: 49.6vmin;
transform: rotate(16deg);
border-radius: 50%;
&::before {
width: 1.5vmin;
height: 2.5vmin;
background: $dark-color;
top: -0.2vmin;
left: -2vmin;
transform: skewY(48deg);
border-radius: 0 0 0 25%;
}
&::after {
width: 0.5vmin;
height: 2.8vmin;
background: $bg-color;
top: 0.5vmin;
left: -0.6vmin;
border-radius: 50%;
}
}
&-30 {
width: 1.7vmin;
height: 1vmin;
background: $dark-color;
top: 54vmin;
left: 47vmin;
transform: rotate(45deg) skewX(20deg);
border-radius: 50%;
&::before {
width: 1.8vmin;
height: 1vmin;
background: $dark-color;
top: 0.6vmin;
left: -1.2vmin;
transform: rotate(24deg);
border-radius: 50%;
}
&::after {
width: 2.85vmin;
height: 1.6vmin;
background: $dark-color;
top: -1.25vmin;
left: -4.4vmin;
transform: rotate(55deg);
border-radius: 50%;
}
}
&-31 {
width: 1.2vmin;
height: 2vmin;
background: $dark-color;
top: 52vmin;
left: 45.5vmin;
border-radius: 0 50% 0 30%;
&::before {
width: 1.8vmin;
height: 0.9vmin;
background: $dark-color;
top: 0.05vmin;
left: 0.15vmin;
transform: rotate(30deg);
border-radius: 0 50% 50% 0;
}
&::after {
width: 1.3vmin;
height: 1.3vmin;
background: $dark-color;
top: -1.6vmin;
transform: rotate(50deg);
border-radius: 0 20% 0 0;
}
}
&-32 {
width: 1.2vmin;
height: 2vmin;
background: $dark-color;
top: 49.4vmin;
left: 44.8vmin;
&::before {
width: 1.7vmin;
height: 1.4vmin;
background: $dark-color;
top: -1.7vmin;
left: -0.2vmin;
transform: rotate(20deg);
border-radius: 0 20% 0 0;
}
&::after {
width: 1.5vmin;
height: 0.7vmin;
background: $dark-color;
top: -1.8vmin;
left: 0.15vmin;
transform: rotate(18deg) skewX(-20deg);
border-radius: 50%;
}
}
}
.shirt {
&-1 {
width: 4vmin;
height: 15vmin;
background: $bg-color;
top: 50vmin;
left: 66vmin;
transform: rotate(-5deg);
border-radius: 50%;
&::before {
width: 5vmin;
height: 5vmin;
background: $dark-color;
top: 19.5vmin;
left: -4.35vmin;
border-radius: 50%;
}
&::after {
width: 4vmin;
height: 8vmin;
background: $dark-color;
top: 14vmin;
left: -5.5vmin;
transform: rotate(-16deg);
}
}
&-2 {
width: 16vmin;
height: 15.5vmin;
background: $dark-color;
top: 62.3vmin;
left: 63vmin;
transform: rotate(60deg) skewX(22deg);
border-radius: 0 50% 30% 70%;
&::before {
width: 8.5vmin;
height: 1.2vmin;
background: $bg-color;
top: 14.6vmin;
left: 3.4vmin;
transform: rotate(8deg);
border-radius: 50%;
}
&::after {
width: 5.5vmin;
height: 1.5vmin;
background: $dark-color;
top: -0.2vmin;
left: 5vmin;
transform: rotate(4deg);
border-radius: 50%;
}
}
&-3 {
width: 1.6vmin;
height: 7vmin;
background: $bg-color;
top: 51vmin;
left: 70vmin;
transform: rotate(-2.5deg);
border-radius: 0 0 30% 45%;
&::before {
width: 2vmin;
height: 9vmin;
background: $bg-color;
top: -4.8vmin;
left: -1vmin;
transform: rotate(-14deg);
border-radius: 0 0 60% 0;
}
&::after {
width: 1.5vmin;
height: 1.8vmin;
background: $bg-color;
top: -4vmin;
left: -3vmin;
}
}
&-4 {
width: 1.6vmin;
height: 12vmin;
background: $bg-color;
top: 59vmin;
left: 65.2vmin;
transform: rotate(-10deg);
border-radius: 30% 20% 50% 50%;
&::before {
width: 1vmin;
height: 4vmin;
background: $dark-color;
top: 9.7vmin;
left: 1vmin;
transform: rotate(24deg);
}
&::after {
width: 0.75vmin;
height: 4.7vmin;
background: $bg-color;
top: -4vmin;
left: 0.5vmin;
transform: rotate(8deg);
}
}
&-5 {
width: 0.9vmin;
height: 2vmin;
background: $dark-color;
top: 40vmin;
left: 64.2vmin;
transform: rotate(-9deg);
border-radius: 50% 50% 0 0;
&::before {
width: 0.6vmin;
height: 4vmin;
background: $bg-color;
top: 2vmin;
left: -0.65vmin;
transform: rotate(-4deg);
}
&::after {
width: 17vmin;
height: 20vmin;
background: $dark-color;
top: -17vmin;
left: -54.3vmin;
transform: rotate(32deg);
}
}
&-6 {
width: 9.2vmin;
height: 5vmin;
background: $dark-color;
top: 60.8vmin;
left: -50.2vmin;
transform: skewY(8deg);
border-radius: 15% 0 30% 2.2vmin;
&::before {
width: 3vmin;
height: 4vmin;
background: $dark-color;
top: -0.4vmin;
left: 9vmin;
}
&::after {
width: 2.3vmin;
height: 3.6vmin;
background: $bg-color;
top: 0.15vmin;
left: 9.2vmin;
border-radius: 1vmin 60% 0 0;
}
}
&-7 {
width: 2vmin;
height: 8vmin;
background: $bg-color;
top: 20vmin;
left: -44.1vmin;
border-radius: 50%;
&::before {
width: 15vmin;
height: 25vmin;
background: $dark-color;
top: 10vmin;
left: 10vmin;
transform: rotate(-30deg);
border-radius: 0 0 0 20%;
}
&::after {
width: 1.5vmin;
height: 1.5vmin;
background: $dark-color;
top: 25.7vmin;
left: 4.75vmin;
transform: rotate(40deg) skewY(10deg);
border-radius: 0 0 40% 50%;
}
}
&-8 {
width: 10vmin;
height: 5vmin;
background: $dark-color;
top: 60.8vmin;
left: -26vmin;
&::before {
width: 10vmin;
height: 7vmin;
background: $dark-color;
top: 3.5vmin;
left: 2.9vmin;
transform: skewX(20deg);
border-radius: 0 0 0 5%;
}
&::after {
width: 2.7vmin;
height: 10vmin;
background: $bg-color;
top: 4.4vmin;
left: 1vmin;
transform: rotate(-10deg);
border-radius: 50%;
}
}
&-9 {
width: 4.5vmin;
height: 17vmin;
background: $dark-color;
top: 44vmin;
left: -49.3vmin;
transform: rotate(34deg);
border-radius: 50%;
&::before {
width: 10vmin;
height: 5vmin;
background: $dark-color;
top: 8.5vmin;
left: 1vmin;
transform: rotate(-34deg);
}
&::after {
width: 2vmin;
height: 15vmin;
background: $bg-color;
top: 1vmin;
left: -1.5vmin;
transform: rotate(5deg);
border-radius: 50%;
}
}
&-10 {
width: 26vmin;
height: 4.2vmin;
background: $dark-color;
top: 83.2vmin;
left: 8.2vmin;
transform: rotate(-2deg) skewX(10deg);
border-radius: 5vmin;
&::before {
width: 20vmin;
height: 3vmin;
background: $bg-color;
top: 3.7vmin;
left: -1vmin;
transform: rotate(5deg);
}
&::after {
width: 11vmin;
height: 1vmin;
background: $dark-color;
top: 3.5vmin;
left: 13.8vmin;
transform: rotate(-0.5deg);
border-radius: 50%;
}
}
&-11 {
width: 5vmin;
height: 3vmin;
background: $dark-color;
top: 83vmin;
left: -14.2vmin;
transform: skewX(15deg);
border-radius: 0 0 0 20%;
&::before {
width: 10vmin;
height: 2.4vmin;
background: $dark-color;
top: -2vmin;
left: -3vmin;
}
&::after {
width: 4vmin;
height: 2.3vmin;
background: $bg-color;
top: -1.65vmin;
left: -4vmin;
border-radius: 0 85% 0 0;
}
}
&-12 {
width: 17vmin;
height: 7vmin;
background: $dark-color;
top: 75vmin;
left: 7.7vmin;
border-radius: 0 20% 0 0;
&::before {
width: 3.5vmin;
height: 9.5vmin;
background: $dark-color;
top: 0.1vmin;
left: 16.1vmin;
transform: rotate(-51deg);
border-radius: 50%;
}
&::after {
width: 2vmin;
height: 5vmin;
background: $dark-color;
left: 15.7vmin;
transform: rotate(-36deg);
}
}
&-13 {
width: 1.5vmin;
height: 4vmin;
background: $bg-color;
top: 71.5vmin;
left: 27vmin;
transform: rotate(-35deg);
border-radius: 50%;
}
}
.face {
&-1 {
width: 3.5vmin;
height: 16vmin;
background: $bg-color;
top: -16vmin;
left: 40.4vmin;
transform: rotate(-1deg);
border-radius: 50%;
&::before {
width: 2vmin;
height: 10vmin;
background: $bg-color;
top: 13vmin;
transform: rotate(17deg);
border-radius: 50%;
}
&::after {
width: 3vmin;
height: 1.5vmin;
background: $bg-color;
top: 19vmin;
left: -1.55vmin;
}
}
&-2 {
width: 3vmin;
height: 6.3vmin;
background: $bg-color;
top: 19.2vmin;
left: 33.3vmin;
transform: rotate(16deg);
border-radius: 0 0 2vmin 2vmin;
&::before {
width: 6.6vmin;
height: 2.5vmin;
background: $bg-color;
top: 6.5vmin;
left: -8.4vmin;
transform: rotate(8.5deg);
border-radius: 50%;
}
&::after {
width: 3vmin;
height: 4vmin;
background: $bg-color;
top: 4.4vmin;
left: -4vmin;
transform: rotate(-38deg);
border-radius: 0 0 20% 20%;
}
}
&-3 {
width: 3.6vmin;
height: 2vmin;
background: $bg-color;
top: 19.9vmin;
left: 12.1vmin;
transform: rotate(37deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 1vmin;
background: $bg-color;
top: 1.2vmin;
left: 2vmin;
}
&::after {
width: 3.7vmin;
height: 1vmin;
background: $dark-color;
top: 1.7vmin;
left: -0.5vmin;
transform: rotate(12deg);
border-radius: 50%;
}
}
&-4 {
width: 1.5vmin;
height: 5.7vmin;
background: $bg-color;
top: 6vmin;
left: 1vmin;
transform: rotate(-25deg);
border-radius: 50% 50% 0 30%;
&::before {
width: 1.5vmin;
height: 4vmin;
background: $bg-color;
top: -4vmin;
left: 2vmin;
transform: rotate(9deg);
border-radius: 50%;
}
&::after {
width: 2vmin;
height: 3vmin;
background: $bg-color;
left: 0.7vmin;
}
}
&-5 {
width: 2vmin;
height: 3.8vmin;
background: $bg-color;
top: -15.8vmin;
left: -3.2vmin;
transform: rotate(5deg);
border-radius: 50%;
&::before {
width: 1.5vmin;
height: 4vmin;
background: $bg-color;
top: 2vmin;
left: 1.1vmin;
transform: rotate(-40deg);
border-radius: 20% 0 0 0;
}
&:after {
width: 1.5vmin;
height: 4vmin;
background: $dark-color;
top: 3vmin;
left: 0.3vmin;
transform: rotate(-40deg);
border-radius: 50%;
}
}
}
.eye-right {
&-1 {
width: 9vmin;
height: 1vmin;
background: $dark-color;
top: -29.4vmin;
left: 33.9vmin;
transform: rotate(-4deg) skewX(-5deg);
border-radius: 0 10% 0 0;
&::before {
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: -0.9vmin;
left: -1vmin;
transform: rotate(-5deg);
}
&::after {
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: 0.6vmin;
left: -1vmin;
transform: rotate(-3deg);
}
}
&-2 {
width: 5vmin;
height: 1vmin;
background: $bg-color;
top: -28.1vmin;
left: 33.4vmin;
transform: rotate(-1.2deg);
&::before {
width: 7.6vmin;
height: 2.5vmin;
background: $dark-color;
top: 0.65vmin;
left: -0.9vmin;
transform: skewY(-10deg) skewX(10deg);
border-radius: 2vmin 0 0 10%;
}
&::after {
width: 6.2vmin;
height: 2.4vmin;
background: $bg-color;
top: 0.9vmin;
left: 0.9vmin;
transform: rotate(-13deg);
}
}
&-3 {
width: 5.5vmin;
height: 0.8vmin;
background: $dark-color;
top: -27vmin;
left: 36.2vmin;
transform: rotate(-18deg);
border-radius: 50%;
&::before {
width: 2.4vmin;
height: 0.9vmin;
background: $dark-color;
top: -0.2vmin;
left: -1vmin;
}
&::after {
width: 1.1vmin;
height: 2vmin;
background: $dark-color;
top: 0.2vmin;
left: -1vmin;
transform: rotate(24deg);
}
}
&-4 {
width: 6vmin;
height: 1vmin;
background: $dark-color;
top: -23.5vmin;
left: 33.7vmin;
border-radius: 0 0.7vmin 0 0;
&::before {
width: 0.8vmin;
height: 1.7vmin;
background: $dark-color;
top: 0.1vmin;
left: 5.2vmin;
transform: rotate(-67deg) skewY(20deg);
border-radius: 0 50% 50% 50%;
}
&::after {
width: 2.7vmin;
height: 0.6vmin;
background: $bg-color;
top: 0.55vmin;
left: 2vmin;
border-radius: 20% 100% 0 0;
}
}
&-5 {
width: 4.5vmin;
height: 2.4vmin;
background: $dark-color;
top: -19vmin;
left: 32.3vmin;
transform: rotate(16deg);
border-radius: 50%;
&::before {
width: 1.5vmin;
height: 2vmin;
background: $dark-color;
top: -0.1vmin;
left: -0.4vmin;
transform: rotate(-6deg);
border-radius: 50%;
}
&::after {
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: -0.4vmin;
left: -0.9vmin;
transform: rotate(-9deg);
border-radius: 0 0 0 10%;
}
}
&-6 {
width: 2vmin;
height: 1.5vmin;
background: $bg-color;
top: -20.5vmin;
left: 34vmin;
&::before {
width: 0.5vmin;
height: 1vmin;
background: $dark-color;
top: 1vmin;
left: -2vmin;
transform: rotate(-46deg);
border-radius: 40%;
}
&::after {
width: 1vmin;
height: 1.2vmin;
background: $dark-color;
left: -0.7vmin;
transform: rotate(30deg);
border-radius: 0 20% 0 0;
}
}
&-7 {
width: 4.2vmin;
height: 0.9vmin;
background: $dark-color;
top: -19.3vmin;
left: 35.8vmin;
transform: rotate(-20deg);
border-radius: 0 20% 1vmin 0;
&::before {
width: 0.5vmin;
height: 1vmin;
background: $dark-color;
top: -0.5vmin;
left: 0.05vmin;
transform: rotate(-40deg);
}
&::after {
width: 2vmin;
height: 1vmin;
background: $bg-color;
top: 0.9vmin;
left: 2.1vmin;
transform: skewX(-5deg);
border-radius: 15% 0 0 0;
}
}
}
.eye-left {
&-1 {
width: 7vmin;
height: 2vmin;
background: $dark-color;
top: -27vmin;
transform: rotate(-10deg);
border-radius: 0 57% 0 0;
&::before {
width: 4vmin;
height: 1vmin;
background: $dark-color;
top: 1vmin;
left: 5.4vmin;
transform: rotate(20deg) skewX(45deg);
}
&::after {
width: 4vmin;
height: 1vmin;
background: $bg-color;
top: 0.3vmin;
left: 6.1vmin;
transform: rotate(20deg);
border-radius: 50%;
}
}
&-2 {
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: -26vmin;
left: 4vmin;
border-radius: 50%;
&::before {
width: 2vmin;
height: 4vmin;
background: $dark-color;
top: -0.4vmin;
left: -1.25vmin;
transform: rotate(30deg);
border-radius: 0 1vmin 0 0;
}
&::after {
width: 2.6vmin;
height: 4vmin;
background: $dark-color;
top: 0.75vmin;
left: -2.5vmin;
transform: rotate(-10deg);
border-radius: 0 0 0 30%;
}
}
&-3 {
width: 6vmin;
height: 1vmin;
background: $dark-color;
top: -25.5vmin;
left: 11.4vmin;
transform: rotate(5deg) skewX(-10deg);
border-radius: 1vmin;
&::before {
width: 2vmin;
height: 1.4vmin;
background: $dark-color;
top: -0.3vmin;
left: 5.2vmin;
transform: rotate(-10deg);
border-radius: 0 1vmin 0 0.5vmin;
}
&::after {
width: 1vmin;
height: 1vmin;
background: $bg-color;
left: 7vmin;
border-radius: 50%;
}
}
&-4 {
width: 4vmin;
height: 0.5vmin;
background: $bg-color;
top: -26.7vmin;
left: 15.9vmin;
transform: rotate(-2deg);
border-radius: 50%;
&::before {
width: 2.2vmin;
height: 1vmin;
background: $bg-color;
top: 1.5vmin;
left: 0.6vmin;
transform: rotate(5deg);
border-radius: 0 50% 0 0;
}
&::after {
width: 1vmin;
height: 3vmin;
background: $bg-color;
top: 3.5vmin;
left: -8.4vmin;
border-radius: 50%;
}
}
&-5 {
width: 5vmin;
height: 1.3vmin;
background: $dark-color;
top: -20.2vmin;
left: 5vmin;
transform: rotate(-15deg);
border-radius: 50%;
&::before {
width: 3.5vmin;
height: 1.2vmin;
background: $dark-color;
left: 4vmin;
transform: skewX(10deg);
border-radius: 0 1vmin 0 30%;
}
&::after {
width: 3.2vmin;
height: 0.6vmin;
background: $bg-color;
top: -0.45vmin;
left: 3.4vmin;
transform: rotate(-4deg);
border-radius: 50%;
}
}
&-6 {
width: 1.2vmin;
height: 1.2vmin;
background: $bg-color;
top: -21.3vmin;
left: 14.45vmin;
border-radius: 0 100% 0 0;
&::before {
width: 1vmin;
height: 1vmin;
background: $bg-color;
top: -0.2vmin;
left: 0.75vmin;
transform: rotate(10deg);
}
&::after {
width: 4vmin;
height: 2vmin;
background: $dark-color;
top: 1.9vmin;
left: -6.8vmin;
transform: rotate(18deg) skewX(10deg);
border-radius: 0 20% 50% 10%;
}
}
&-7 {
width: 4vmin;
height: 1vmin;
background: $dark-color;
top: -15.3vmin;
left: 8vmin;
transform: rotate(-5deg);
border-radius: 50%;
&::before {
width: 3vmin;
height: 1vmin;
background: $dark-color;
top: -0.5vmin;
left: 0.85vmin;
transform: rotate(5deg);
}
&::after {
width: 3.5vmin;
height: 0.6vmin;
background: $dark-color;
top: -0.75vmin;
left: 2.3vmin;
transform: rotate(-7deg);
border-radius: 0 30% 0.3vmin 0;
}
}
&-8 {
width: 2vmin;
height: 1vmin;
background: $dark-color;
top: -20.9vmin;
left: 13.1vmin;
transform: rotate(30deg);
border-radius: 0 30% 50% 0;
&::before {
width: 2vmin;
height: 1vmin;
background: $dark-color;
top: 0.35vmin;
left: -1vmin;
transform: rotate(-30deg);
}
&::after {
width: 1.2vmin;
height: 0.5vmin;
background: $bg-color;
top: 0.75vmin;
left: 0.8vmin;
transform: rotate(-25deg);
border-radius: 0 100% 0 0;
}
}
&-9 {
width: 1.1vmin;
height: 2vmin;
background: $dark-color;
top: -17.8vmin;
left: 6.1vmin;
transform: rotate(50deg);
border-radius: 50%;
&::before {
width: 2vmin;
height: 1.7vmin;
background: $dark-color;
top: 0.2vmin;
left: -0.9vmin;
transform: rotate(40deg);
}
}
}
.nose {
&-1 {
width: 1.55vmin;
height: 11vmin;
background: $dark-color;
top: -13vmin;
left: 18.05vmin;
&::before {
width: 1.1vmin;
height: 5.2vmin;
background: $bg-color;
left: -0.45vmin;
transform: skewY(5deg) skewX(-2deg);
border-radius: 0 1vmin 100% 0;
}
&::after {
width: 3.6vmin;
height: 3.5vmin;
background: $bg-color;
top: 6.65vmin;
left: -3.05vmin;
transform: rotate(24deg) skewY(10deg);
border-radius: 1vmin;
}
}
&-2 {
width: 2vmin;
height: 9vmin;
background: $dark-color;
top: -15.3vmin;
left: 21.7vmin;
transform: rotate(-16deg);
border-radius: 50%;
&::before {
width: 1.9vmin;
height: 7vmin;
background: $dark-color;
top: 3vmin;
left: 0.55vmin;
transform: rotate(-7deg);
border-radius: 50%;
}
&::after {
width: 1vmin;
height: 5vmin;
background: $dark-color;
top: 2vmin;
left: 1.15vmin;
transform: rotate(-8deg);
border-radius: 20%;
}
}
&-3 {
width: 2.3vmin;
height: 8vmin;
background: $dark-color;
top: -9.8vmin;
left: 20.8vmin;
border-radius: 0 20% 0 0;
&::before {
width: 2vmin;
height: 2vmin;
background: $dark-color;
top: 4.3vmin;
left: 1.85vmin;
}
&::after {
width: 3.4vmin;
height: 2vmin;
background: $dark-color;
top: 7.05vmin;
left: -1.3vmin;
transform: rotate(20deg);
border-radius: 0 0 0 30%;
}
}
&-4 {
width: 3.2vmin;
height: 1vmin;
background: $dark-color;
top: -2vmin;
left: 25vmin;
border-radius: 50%;
transform: rotate(25deg);
&::before {
width: 1.5vmin;
height: 1vmin;
background: $dark-color;
top: 0.05vmin;
left: -0.1vmin;
transform: rotate(10deg);
}
&::after {
width: 2.3vmin;
height: 0.5vmin;
background: $dark-color;
top: -0.2vmin;
left: 2.6vmin;
transform: rotate(-35deg);
border-radius: 50%;
}
}
&-5 {
width: 3vmin;
height: 0.6vmin;
background: $dark-color;
top: -0.8vmin;
left: 25vmin;
border-radius: 0 0 20% 0;
&::before {
width: 1vmin;
height: 0.4vmin;
background: $dark-color;
left: 2.3vmin;
}
&::after {
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: -0.6vmin;
}
}
&-6 {
width: 1vmin;
height: 2vmin;
background: $bg-color;
left: 21vmin;
transform: rotate(-40deg);
border-radius: 0.5vmin;
&::before {
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: 1.4vmin;
left: 0.6vmin;
transform: rotate(40deg);
}
}
}
.moustache {
&-1 {
width: 2.5vmin;
height: 1.1vmin;
background: $dark-color;
top: 2vmin;
left: 30vmin;
border-radius: 50%;
&::before {
width: 3.2vmin;
height: 1.2vmin;
background: $dark-color;
top: 2.5vmin;
left: 3.2vmin;
transform: rotate(41deg);
border-radius: 50%;
}
&::after {
width: 3vmin;
height: 1.5vmin;
background: $dark-color;
top: 1vmin;
left: 1.3vmin;
transform: rotate(40deg);
}
}
&-2 {
width: 1vmin;
height: 2.8vmin;
background: $dark-color;
top: 4vmin;
left: 30.1vmin;
transform: rotate(-25deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 3vmin;
background: $bg-color;
top: 0.05vmin;
left: -0.9vmin;
transform: rotate(5deg);
border-radius: 50%;
}
&::after {
width: 1.9vmin;
height: 6vmin;
background: $dark-color;
top: 1vmin;
left: 1vmin;
transform: rotate(-25deg);
border-radius: 35% 0 0 0;
}
}
&-3 {
width: 2vmin;
height: 2vmin;
background: $dark-color;
top: 12.3vmin;
left: 37.1vmin;
transform: rotate(-20deg);
border-radius: 100% 0 0 10%;
&::before {
width: 6vmin;
height: 4vmin;
background: $bg-color;
top: -2.7vmin;
left: -4.8vmin;
transform: rotate(50deg);
border-radius: 0 36% 0 0;
}
&::after {
width: 2.6vmin;
height: 0.5vmin;
background: $bg-color;
top: -3.9vmin;
transform: rotate(60deg);
border-radius: 50%;
}
}
&-4 {
width: 4.1vmin;
height: 3.25vmin;
background: $dark-color;
top: 4.65vmin;
left: 23.3vmin;
border-radius: 50%;
&::before {
width: 10vmin;
height: 2.4vmin;
background: $dark-color;
top: 3.4vmin;
left: -8.5vmin;
transform: rotate(-25deg);
}
&::after {
width: 1vmin;
height: 2vmin;
background: $dark-color;
top: 0.6vmin;
left: -0.15vmin;
transform: rotate(35deg);
}
}
&-5 {
width: 3vmin;
height: 1vmin;
background: $dark-color;
top: 7.6vmin;
left: 22vmin;
transform: rotate(-22deg);
&::before {
width: 8vmin;
height: 2vmin;
background: $dark-color;
top: -0.2vmin;
left: -6vmin;
transform: rotate(-20deg);
border-radius: 0 0 0 20%;
}
&::after {
width: 2vmin;
height: 2vmin;
background: $dark-color;
top: 0.9vmin;
left: -7vmin;
transform: rotate(-10deg);
}
}
&-6 {
width: 0.5vmin;
height: 2.8vmin;
background: $dark-color;
top: 9.2vmin;
left: 4vmin;
border-radius: 1vmin;
&::before {
width: 2.1vmin;
height: 1vmin;
background: $dark-color;
top: 2vmin;
left: -0.75vmin;
transform: rotate(-54deg);
}
&::after {
width: 0.6vmin;
height: 2.2vmin;
background: $bg-color;
left: -0.5vmin;
transform: rotate(-2deg);
border-radius: 50%;
}
}
&-7 {
width: 1.1vmin;
height: 3vmin;
background: $dark-color;
top: 9.6vmin;
left: 5.6vmin;
transform: rotate(-20deg);
border-radius: 20% 50% 0 0;
&::before {
width: 1vmin;
height: 2.4vmin;
background: $bg-color;
top: -0.3vmin;
left: 0.6vmin;
transform: rotate(-4deg);
border-radius: 0 0 50% 50%;
}
&::after {
width: 2.65vmin;
height: 0.6vmin;
background: $bg-color;
top: 1.3vmin;
left: 4.65vmin;
transform: rotate(-6deg);
border-radius: 50%;
}
}
&-8 {
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: 6.9vmin;
left: 13.3vmin;
transform: rotate(-10deg);
&::before {
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: 5.1vmin;
left: -2.6vmin;
transform: rotate(-20deg);
border-radius: 50%;
}
&::after {
width: 2vmin;
height: 1.05vmin;
background: $dark-color;
top: 4.35vmin;
left: -1.9vmin;
transform: rotate(22deg);
border-radius: 1vmin;
}
}
&-9 {
width: 2.3vmin;
height: 1.5vmin;
background: $bg-color;
top: 14.4vmin;
left: 15vmin;
transform: rotate(-40deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: 0.4vmin;
transform: rotate(-15deg);
border-radius: 50%;
}
}
}
.mouth {
&-1 {
width: 5.7vmin;
height: 1vmin;
background: $dark-color;
top: 10.5vmin;
left: 29.6vmin;
transform: rotate(5deg);
border-radius: 50%;
&::before {
width: 4.5vmin;
height: 1vmin;
background: $dark-color;
top: 0.7vmin;
left: -2.85vmin;
transform: rotate(-22deg);
border-radius: 50%;
}
&::after {
width: 1.4vmin;
height: 0.3vmin;
background: $dark-color;
top: 0.3vmin;
left: -0.5vmin;
transform: rotate(-18deg);
border-radius: 50%;
}
}
&-2 {
width: 3.8vmin;
height: 1.7vmin;
background: $dark-color;
top: 12.8vmin;
left: 20vmin;
transform: rotate(15deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 0.55vmin;
background: $dark-color;
top: -0.1vmin;
left: 1.4vmin;
transform: rotate(-20deg);
}
&::after {
width: 1vmin;
height: 1.4vmin;
background: $dark-color;
top: -0.2vmin;
left: 2.5vmin;
transform: rotate(-30deg);
}
}
&-3 {
width: 6.5vmin;
height: 1.5vmin;
background: $bg-color;
top: 12.2vmin;
left: 29.7vmin;
transform: rotate(2deg);
border-radius: 50%;
&::before {
width: 2.1vmin;
height: 0.7vmin;
background: $dark-color;
top: -1.6vmin;
left: 2.5vmin;
transform: rotate(-4deg);
border-radius: 50%;
}
&::after {
width: 2vmin;
height: 0.7vmin;
background: $dark-color;
top: -0.9vmin;
left: 4vmin;
transform: rotate(45deg);
border-radius: 10% 10% 60% 0;
}
}
&-4 {
width: 1.7vmin;
height: 1vmin;
background: $dark-color;
top: 9.3vmin;
left: 31.3vmin;
border-radius: 0 50% 0 0;
&::before {
width: 2vmin;
height: 0.5vmin;
background: $bg-color;
top: 0.3vmin;
left: 1.35vmin;
transform: rotate(43deg);
border-radius: 50%;
}
}
}
.beard {
&-1 {
width: 1vmin;
height: 2.5vmin;
background: $dark-color;
top: 23.8vmin;
left: 27.3vmin;
transform: rotate(-10deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: 1.7vmin;
left: 0.2vmin;
transform: rotate(10deg);
}
&::after {
width: 2vmin;
height: 3vmin;
background: $dark-color;
top: -1.1vmin;
left: 0.1vmin;
transform: rotate(25deg);
border-radius: 0 0 0 60%;
}
}
&-2 {
width: 1.1vmin;
height: 2.4vmin;
background: $bg-color;
top: 21.8vmin;
left: 30.9vmin;
transform: rotate(35deg) skewX(10deg);
border-radius: 50%;
&::before {
width: 4vmin;
height: 0.6vmin;
background: $dark-color;
top: 0.8vmin;
left: -3.8vmin;
transform: rotate(-30deg);
}
&::after {
width: 1.8vmin;
height: 1vmin;
background: $dark-color;
top: -0.4vmin;
left: -2vmin;
transform: rotate(12deg);
border-radius: 10% 20% 0 0;
}
}
&-3 {
width: 1.8vmin;
height: 1vmin;
background: $dark-color;
top: 16.8vmin;
left: 27.7vmin;
&::before {
width: 3.3vmin;
height: 1vmin;
background: $dark-color;
top: 2.1vmin;
left: -2.7vmin;
transform: rotate(35deg);
}
&::after {
width: 2.5vmin;
height: 3vmin;
background: $dark-color;
top: 0.1vmin;
left: -1.2vmin;
transform: rotate(50deg);
border-radius: 65% 0 0 0;
}
}
&-4 {
width: 4vmin;
height: 1.2vmin;
background: $bg-color;
top: 17.7vmin;
left: 22.1vmin;
transform: rotate(-22deg);
border-radius: 50%;
&::before {
width: 1.1vmin;
height: 3vmin;
background: $bg-color;
top: 1.45vmin;
left: 1.25vmin;
transform: rotate(-40deg);
border-radius: 0 0.4vmin 0.5vmin 0;
}
&::after {
width: 1vmin;
height: 1vmin;
background: $bg-color;
top: 0.55vmin;
left: 0.1vmin;
transform: rotate(22deg);
}
}
&-5 {
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: 20.6vmin;
left: 21vmin;
&::before {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: -1.5vmin;
left: 5.4vmin;
}
}
}
// design source
// https://www.etsy.com/listing/1221585863/johnny-depp-svg-captain-pirate-svg
// speed code video
// https://twitter.com/asyrafhussin4/status/1546754960620064768
Also see: Tab Triggers