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="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="ear-left-1"></div>
<div class="ear-left-2"></div>
<div class="ear-left-3"></div>
<div class="ear-left-4"></div>
<div class="ear-left-5"></div>
<div class="ear-left-6"></div>
<div class="ear-left-7"></div>
<div class="ear-left-8"></div>
<div class="earring-left-1"></div>
<div class="earring-left-2"></div>
<div class="earring-left-3"></div>
<div class="ear-right-1"></div>
<div class="ear-right-2"></div>
<div class="ear-right-3"></div>
<div class="ear-right-4"></div>
<div class="ear-right-5"></div>
<div class="ear-right-6"></div>
<div class="ear-right-7"></div>
<div class="earring-right-1"></div>
<div class="earring-right-2"></div>
<div class="earring-right-3"></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="face-6"></div>
<div class="face-7"></div>
<div class="face-8"></div>
<div class="face-9"></div>
<div class="face-10"></div>
<div class="face-11"></div>
<div class="face-12"></div>
<div class="face-13"></div>
<div class="face-14"></div>
<div class="face-15"></div>
<div class="forehead-1"></div>
<div class="forehead-2"></div>
<div class="forehead-3"></div>
<div class="eyewear-right-1"></div>
<div class="eyewear-right-2"></div>
<div class="eyewear-right-3"></div>
<div class="eyewear-right-4"></div>
<div class="eyewear-right-5"></div>
<div class="eyewear-right-6"></div>
<div class="eyewear-right-7"></div>
<div class="eyewear-right-8"></div>
<div class="eyewear-right-9"></div>
<div class="eyewear-right-10"></div>
<div class="eyewear-right-11"></div>
<div class="eyewear-right-12"></div>
<div class="eyewear-center-1"></div>
<div class="eyewear-center-2"></div>
<div class="eyewear-center-3"></div>
<div class="eyewear-center-4"></div>
<div class="eyewear-left-1"></div>
<div class="eyewear-left-2"></div>
<div class="eyewear-left-3"></div>
<div class="eyewear-left-4"></div>
<div class="eyewear-left-5"></div>
<div class="eyewear-left-6"></div>
<div class="eyewear-left-7"></div>
<div class="eyewear-left-8"></div>
<div class="eyewear-left-9"></div>
<div class="eyewear-left-10"></div>
<div class="eyewear-left-11"></div>
<div class="eyewear-left-12"></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="cheek-right-1"></div>
<div class="cheek-right-2"></div>
<div class="cheek-right-3"></div>
<div class="cheek-right-4"></div>
<div class="cheek-left-1"></div>
<div class="cheek-left-2"></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="moustache-10"></div>
<div class="mouth-1"></div>
<div class="mouth-2"></div>
<div class="mouth-3"></div>
<div class="mouth-4"></div>
<div class="mouth-5"></div>
<div class="mouth-6"></div>
<div class="mouth-7"></div>
<div class="mouth-8"></div>
<div class="mouth-9"></div>
<div class="mouth-10"></div>
<div class="mouth-11"></div>
<div class="mouth-12"></div>
<div class="mouth-13"></div>
<div class="soul-patch-1"></div>
<div class="soul-patch-2"></div>
<div class="soul-patch-3"></div>
<div class="soul-patch-4"></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;
}
}
}
.hair {
&-1 {
width: 50vmin;
height: 22vmin;
background: $dark-color;
top: -61.5vmin;
left: -3vmin;
border-radius: 19vmin 20vmin 0 0;
&::before {
width: 18vmin;
height: 2vmin;
background: $bg-color;
top: -0.1vmin;
left: 28.5vmin;
transform: rotate(19deg);
}
&::after {
width: 14vmin;
height: 2vmin;
background: $bg-color;
top: 1.2vmin;
left: 33.5vmin;
transform: rotate(28deg);
}
}
&-2 {
width: 10vmin;
height: 20vmin;
background: $bg-color;
top: -55vmin;
left: 50vmin;
&::before {
width: 3.5vmin;
height: 3.5vmin;
background: $dark-color;
top: 4.7vmin;
left: -2.2vmin;
transform: rotate(44deg);
border-radius: 20% 100% 0 0;
}
&::after {
width: 5vmin;
height: 1vmin;
background: $bg-color;
top: 4.5vmin;
left: -1.7vmin;
transform: rotate(65deg);
}
}
&-3 {
width: 10vmin;
height: 4vmin;
background: $bg-color;
top: -85.2vmin;
left: -20vmin;
transform: rotate(-19deg);
border-radius: 0 0 0 40%;
&::before {
width: 5vmin;
height: 1vmin;
background: $bg-color;
top: 3.2vmin;
left: 5.8vmin;
transform: rotate(10deg);
}
&::after {
width: 14vmin;
height: 5vmin;
background: $bg-color;
top: 1.5vmin;
left: -12.2vmin;
transform: rotate(-15deg);
border-radius: 0 0 2vmin 0;
}
}
&-4 {
width: 15.5vmin;
height: 4vmin;
background: $dark-color;
top: -71vmin;
left: -35.2vmin;
transform: rotate(-33.2deg);
border-radius: 100%;
&::before {
width: 7vmin;
height: 21.5vmin;
background: $dark-color;
top: 2.8vmin;
left: -11.7vmin;
transform: rotate(33deg);
border-radius: 50% 0 0 0;
}
&::after {
width: 2.5vmin;
height: 13vmin;
background: $bg-color;
top: 8vmin;
left: -15vmin;
transform: rotate(33.5deg);
border-radius: 100%;
}
}
&-5 {
width: 1.8vmin;
height: 7vmin;
background: $dark-color;
top: -8.4vmin;
left: -52.35vmin;
border-radius: 0 0 30% 60%;
&::before {
width: 3vmin;
height: 4.6vmin;
background: $dark-color;
top: 0.4vmin;
left: -0.6vmin;
border-radius: 0 0 100% 0;
}
&::after {
width: 1vmin;
height: 5vmin;
background: $bg-color;
top: 3vmin;
left: 1.7vmin;
transform: rotate(6deg);
}
}
&-6 {
width: 1vmin;
height: 2vmin;
background: $dark-color;
top: -58vmin;
left: 40vmin;
transform: rotate(-40deg);
&::before {
width: 1vmin;
height: 0.4vmin;
background: $bg-color;
top: 0.9vmin;
left: 0.8vmin;
border-radius: 100%;
}
&::after {
width: 4.7vmin;
height: 8vmin;
background: $dark-color;
top: 1.2vmin;
left: -2.6vmin;
border-radius: 0 1.4vmin 3.6vmin 0;
}
}
&-7 {
width: 7vmin;
height: 18.5vmin;
background: $dark-color;
top: -31.5vmin;
left: 44.2vmin;
transform: rotate(-4deg);
border-radius: 0 1vmin 0 0;
}
&-8 {
z-index: 2;
width: 0.8vmin;
height: 5.8vmin;
background: $bg-color;
top: -61.8vmin;
left: -37.4vmin;
transform: rotate(-23deg);
border-radius: 0 100% 100% 0 / 30% 50% 50% 70%;
&::before {
width: 1.1vmin;
height: 9.5vmin;
background: $bg-color;
top: -1.5vmin;
left: 3.5vmin;
transform: rotate(8deg);
border-radius: 10% 90% 82% 18% / 30% 50% 50% 70%;
}
&::after {
width: 1.35vmin;
height: 12.3vmin;
background: $bg-color;
top: -1.4vmin;
left: 7.6vmin;
transform: rotate(17deg);
border-radius: 81% 19% 29% 71% / 33% 38% 62% 67%;
}
}
&-9 {
z-index: 2;
width: 0.8vmin;
height: 9vmin;
background: $bg-color;
top: -59.5vmin;
left: -14.7vmin;
transform: rotate(-4deg);
border-radius: 0 100% 100% 0 / 30% 50% 50% 70%;
&::before {
width: 1.2vmin;
height: 15.3vmin;
background: $bg-color;
top: -4.5vmin;
left: 5.8vmin;
transform: rotate(0.8deg);
border-radius: 50%;
}
&::after {
width: 1vmin;
height: 13vmin;
background: $bg-color;
top: -2.6vmin;
left: 9.3vmin;
transform: rotate(7.5deg);
border-radius: 50%;
}
}
&-10 {
z-index: 2;
width: 1.1vmin;
height: 12.8vmin;
background: $bg-color;
top: -64.2vmin;
left: 11.8vmin;
transform: rotate(14deg);
border-radius: 100% 0 0 100% / 50% 100% 0 50%;
&::before {
width: 1.05vmin;
height: 9.8vmin;
background: $bg-color;
top: 1vmin;
left: 4.9vmin;
border-radius: 100% 0 0 100% / 50% 100% 0 50%;
}
&::after {
width: 1vmin;
height: 6.8vmin;
background: $bg-color;
top: 4vmin;
left: 5.6vmin;
transform: rotate(10deg);
border-radius: 100% 0 0 100% / 50% 100% 0 50%;
}
}
&-11 {
z-index: 2;
width: 0.8vmin;
height: 5.9vmin;
background: $bg-color;
top: -62.6vmin;
left: 31.5vmin;
transform: rotate(22deg);
border-radius: 100% 0 0 100% / 50% 100% 0 50%;
}
}
.ear-left {
&-1 {
z-index: 2;
width: 4.5vmin;
height: 8.4vmin;
background: $dark-color;
top: -7.8vmin;
left: -58vmin;
transform: skewY(-7deg) skewX(1deg);
border-radius: 4.5vmin 0 0 0;
&::before {
width: 0.7vmin;
height: 2vmin;
background: $bg-color;
top: -1vmin;
left: 2.65vmin;
transform: skewY(40deg) skewX(-6deg);
border-radius: 0 0 40% 100%;
}
&::after {
width: 2vmin;
height: 1vmin;
background: $bg-color;
top: -0.25vmin;
left: 1.2vmin;
border-radius: 0 0 20% 0;
}
}
&-2 {
z-index: 2;
width: 0.3vmin;
height: 3.5vmin;
background: $bg-color;
top: -2.9vmin;
left: -53.4vmin;
transform: rotate(-6deg);
border-radius: 0 100% 0 0;
&::before {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: -3.3vmin;
left: -4.7vmin;
transform: skewY(-25deg);
border-radius: 0 0 0.5vmin 0;
}
&::after {
width: 0.3vmin;
height: 6vmin;
background: $bg-color;
top: -0.3vmin;
left: -4.7vmin;
transform: rotate(7deg) skewY(75deg);
border-radius: 0 5vmin 0 0;
}
}
&-3 {
z-index: 2;
width: 6.5vmin;
height: 11.5vmin;
background: $dark-color;
top: 12.2vmin;
left: -55.5vmin;
transform: skewY(22deg) skewX(2deg);
border-radius: 1vmin 0 0 43%;
&::before {
width: 4vmin;
height: 3vmin;
background: $dark-color;
top: -1vmin;
left: 2.5vmin;
transform: skewY(-22deg);
border-radius: 0 1vmin 0 0;
}
&::after {
width: 4vmin;
height: 4vmin;
background: $dark-color;
top: 7.7vmin;
left: 3.5vmin;
transform: skewY(6deg);
}
}
&-4 {
z-index: 2;
width: 3.85vmin;
height: 15vmin;
background: $bg-color;
top: 6.2vmin;
left: -56.75vmin;
transform: rotate(6deg) skewY(10deg);
border-radius: 0 100% 0 90%;
&::before {
width: 2.5vmin;
height: 0.6vmin;
background: $dark-color;
top: 1.45vmin;
left: -0.1vmin;
transform: rotate(-48deg);
border-radius: 100% 0 0 100%;
}
&::after {
width: 0.5vmin;
height: 5vmin;
background: $dark-color;
left: 1.8vmin;
transform: rotate(-20deg);
}
}
&-5 {
z-index: 2;
width: 2.7vmin;
height: 6.5vmin;
background: $dark-color;
top: 3.5vmin;
left: -56.8vmin;
transform: rotate(-2deg) skewY(-17deg);
border-radius: 100% 0 0 100% / 30% 100% 0 70%;
&::before {
width: 2vmin;
height: 4vmin;
background: $dark-color;
top: 4vmin;
left: 1.5vmin;
transform: rotate(-30deg);
}
&::after {
width: 1.25vmin;
height: 2.1vmin;
background: $bg-color;
top: 8.6vmin;
left: 2.2vmin;
transform: rotate(-53deg) skewY(-30deg);
border-radius: 0 0 100% 0;
}
}
&-6 {
z-index: 2;
width: 2vmin;
height: 2.5vmin;
background: $dark-color;
top: 12vmin;
left: -53vmin;
transform: skewX(25deg);
border-radius: 0 0 0 1vmin;
&::before {
width: 1.5vmin;
height: 7vmin;
background: $dark-color;
top: -0.4vmin;
left: -3.1vmin;
border-radius: 100% 0 0 0;
}
&::after {
width: 1.4vmin;
height: 3.2vmin;
background: $bg-color;
top: 2vmin;
left: -2.7vmin;
transform: skewY(-50deg) skewX(0deg);
border-radius: 100% 0 0 100% / 70% 100% 0 30%;
}
}
&-7 {
z-index: 2;
width: 3vmin;
height: 1.4vmin;
background: $bg-color;
top: 20.2vmin;
left: -53.5vmin;
transform: rotate(25deg);
border-radius: 0 2vmin 0 0;
&::before {
width: 1.5vmin;
height: 0.5vmin;
background: $dark-color;
top: 1.3vmin;
left: -0.4vmin;
transform: rotate(14deg);
}
&::after {
width: 2.5vmin;
height: 0.6vmin;
background: $dark-color;
top: -0.2vmin;
left: -0.4vmin;
transform: rotate(-11deg);
border-radius: 100%;
}
}
&-8 {
z-index: 2;
width: 1.3vmin;
height: 1.3vmin;
background: $dark-color;
top: 17.4vmin;
left: -55.4vmin;
transform: rotate(10deg) skewY(9deg);
border-radius: 50% 0 0.5vmin 30%;
}
}
.earring-left {
&-1 {
width: 1.9vmin;
height: 5.7vmin;
background: transparent;
top: 24vmin;
left: -55.4vmin;
transform: rotate(-3deg);
border-radius: 50%;
border: 0.35vmin solid $dark-color;
&::before {
width: 2.9vmin;
height: 6.5vmin;
background: transparent;
top: -0.9vmin;
left: -1.3vmin;
transform: rotate(-2deg);
border-radius: 40% 10% 50% 50%;
border: 0.35vmin solid $dark-color;
}
}
&-2 {
z-index: 2;
width: 0.65vmin;
height: 2.9vmin;
background: $bg-color;
top: 22.3vmin;
left: -53.4vmin;
transform: rotate(-5deg);
}
&-3 {
z-index: 2;
width: 1.9vmin;
height: 5.7vmin;
background: transparent;
top: 22vmin;
left: -55.6vmin;
transform: rotate(-12deg);
border-radius: 50%;
border: 0.35vmin solid $dark-color;
border-color: transparent $dark-color transparent transparent;
&::before {
width: 2.9vmin;
height: 6vmin;
background: transparent;
top: 0.5vmin;
left: -1.5vmin;
transform: rotate(5deg);
border-radius: 40% 10% 50% 50%;
border: 0.35vmin solid $dark-color;
border-color: transparent $dark-color transparent transparent;
}
}
}
.ear-right {
&-1 {
width: 6.8vmin;
height: 22.1vmin;
background: $dark-color;
top: 0.8vmin;
left: 54.8vmin;
transform: rotate(5deg);
border-radius: 6vmin 4.5vmin 7.5vmin 0;
&::before {
width: 3.3vmin;
height: 2.1vmin;
background: $bg-color;
top: 1.9vmin;
left: 2vmin;
transform: rotate(-40deg) skewX(-14deg) skewY(-7deg);
border-radius: 50% 50% 0 0;
}
&::after {
width: 2.5vmin;
height: 4.9vmin;
background: $bg-color;
top: 6.2vmin;
left: 3.1vmin;
border-radius: 0 1.7vmin 0 100%;
}
}
&-2 {
width: 2.3vmin;
height: 3.5vmin;
background: $dark-color;
top: -7.2vmin;
left: 54.6vmin;
transform: rotate(22deg);
border-radius: 2vmin 0 0 0;
&::before {
width: 2.5vmin;
height: 3vmin;
background: $dark-color;
top: 3vmin;
left: 2.2vmin;
transform: skewY(35deg) rotate(-40deg);
border-radius: 0 50% 0 0;
}
&::after {
width: 1vmin;
height: 2vmin;
background: $dark-color;
top: 2vmin;
left: 1.7vmin;
transform: rotate(-45deg);
}
}
&-3 {
z-index: 3;
width: 3vmin;
height: 4vmin;
background: $bg-color;
top: 6.3vmin;
left: 56vmin;
transform: rotate(-5deg);
border-radius: 100% 0 5vmin 0;
&::before {
width: 4.2vmin;
height: 3vmin;
background: $dark-color;
top: 1.45vmin;
left: -2.2vmin;
transform: skewY(-25deg) rotate(10deg);
border-radius: 0 0 5vmin 0;
}
&::after {
width: 3vmin;
height: 3.5vmin;
background: $dark-color;
top: -1.2vmin;
left: -0.5vmin;
transform: rotate(31deg);
}
}
&-4 {
z-index: 3;
width: 1.6vmin;
height: 5vmin;
background: $bg-color;
top: 6.3vmin;
left: 52.6vmin;
transform: skewX(-11deg);
border-radius: 0 0 100% 0;
&::before {
width: 2.5vmin;
height: 1vmin;
background: $dark-color;
top: -0.6vmin;
left: -0.9vmin;
transform: rotate(-40deg);
}
&::after {
width: 3.5vmin;
height: 1vmin;
background: $dark-color;
top: 0.1vmin;
left: -0.1vmin;
transform: rotate(75deg);
}
}
&-5 {
z-index: 2;
width: 4.5vmin;
height: 4.4vmin;
background: $bg-color;
top: 14.8vmin;
left: 53.8vmin;
transform: skewY(-20deg) skewX(-6deg);
border-radius: 1vmin 0 50% 0;
&::before {
width: 1vmin;
height: 4.4vmin;
background: $dark-color;
top: -0.2vmin;
left: 4.2vmin;
transform: rotate(6deg);
}
&::after {
width: 1vmin;
height: 2vmin;
background: $dark-color;
top: 2.5vmin;
left: 3.9vmin;
transform: rotate(18deg);
}
}
&-6 {
z-index: 2;
width: 1.3vmin;
height: 3vmin;
background: $dark-color;
top: 13.7vmin;
left: 53.6vmin;
transform: rotate(33deg);
border-radius: 50%;
&::before {
width: 2.5vmin;
height: 1.45vmin;
background: $dark-color;
top: 2.2vmin;
left: -0.95vmin;
transform: rotate(-36deg);
border-radius: 50% 0 100% 0;
}
&::after {
width: 1.2vmin;
height: 2.5vmin;
background: $dark-color;
top: 3.7vmin;
left: -0.4vmin;
transform: rotate(-33deg);
}
}
&-7 {
z-index: 2;
width: 1.2vmin;
height: 0.9vmin;
background: $bg-color;
top: 14.5vmin;
left: 50.7vmin;
transform: skewY(10deg) skewX(-7deg);
border-radius: 0 0 90% 0;
}
}
.earring-right {
&-1 {
width: 1.9vmin;
height: 5.7vmin;
background: transparent;
top: 20.9vmin;
left: 53.3vmin;
transform: rotate(-5deg);
border-radius: 50%;
border: 0.35vmin solid $dark-color;
&::before {
width: 2.9vmin;
height: 6.5vmin;
background: transparent;
top: -0.9vmin;
left: -1.25vmin;
border-radius: 40% 10% 50% 50%;
border: 0.35vmin solid $dark-color;
}
}
&-2 {
z-index: 2;
width: 0.6vmin;
height: 2vmin;
background: $bg-color;
top: 21.2vmin;
left: 50.9vmin;
transform: rotate(-4deg);
border-radius: 20%;
}
&-3 {
z-index: 2;
width: 1.9vmin;
height: 3.8vmin;
background: transparent;
top: 19.2vmin;
left: 50.1vmin;
transform: rotate(-4deg);
border-radius: 50% 50% 0 0;
border: 0.35vmin solid $dark-color;
border-color: transparent $dark-color transparent transparent;
}
}
.face {
&-1 {
width: 21vmin;
height: 12.7vmin;
background: $bg-color;
top: -36.8vmin;
left: -27vmin;
transform: rotate(20deg);
border-radius: 5vmin 0 0 5.5vmin;
&::before {
width: 21vmin;
height: 12.7vmin;
background: $bg-color;
top: -8.6vmin;
left: 23.6vmin;
transform: rotate(-40deg);
border-radius: 0 5vmin 5.5vmin 0;
}
&::after {
width: 3vmin;
height: 4vmin;
background: $bg-color;
top: -2vmin;
left: 20vmin;
transform: rotate(-20deg);
}
}
&-2 {
width: 24vmin;
height: 14vmin;
background: $dark-color;
top: -56vmin;
left: -2vmin;
transform: rotate(-1deg);
border-radius: 50%;
&::before {
width: 7vmin;
height: 4vmin;
background: $dark-color;
top: 7.2vmin;
left: 18.5vmin;
transform: rotate(-24deg);
}
&::after {
width: 14vmin;
height: 4vmin;
background: $dark-color;
top: 6.6vmin;
left: -6.3vmin;
transform: rotate(25deg);
border-radius: 20%;
}
}
&-3 {
width: 4.2vmin;
height: 1vmin;
background: $bg-color;
top: -53.6vmin;
left: -39vmin;
transform: rotate(26deg) skewX(30deg);
border-radius: 0.2vmin 0 0 100%;
&::before {
width: 3.5vmin;
height: 1vmin;
background: $dark-color;
top: -0.9vmin;
left: -1vmin;
transform: rotate(-7deg);
}
&::after {
width: 5vmin;
height: 12vmin;
background: $bg-color;
top: 9.2vmin;
left: -3.87vmin;
transform: skewX(-30deg) rotate(-17deg);
}
}
&-4 {
z-index: 2;
width: 1.9vmin;
height: 4vmin;
background: $dark-color;
top: -29.5vmin;
left: -47.2vmin;
transform: rotate(-2deg);
border-radius: 0 50% 40% 0;
&::before {
width: 1.5vmin;
height: 4vmin;
background: $dark-color;
top: 2.7vmin;
left: -0.5vmin;
transform: rotate(27deg);
border-radius: 25%;
}
&::after {
width: 2.5vmin;
height: 16vmin;
background: $bg-color;
top: 16vmin;
left: -1vmin;
transform: rotate(-6deg);
}
}
&-5 {
width: 5vmin;
height: 9vmin;
background: $bg-color;
top: -21vmin;
left: 40.5vmin;
border-radius: 0 100% 0 0;
&::before {
width: 2.2vmin;
height: 3.5vmin;
background: $bg-color;
top: -0.9vmin;
left: 1.1vmin;
transform: rotate(-3deg);
}
&::after {
width: 1vmin;
height: 3.4vmin;
background: $dark-color;
top: -1vmin;
left: 2.9vmin;
transform: rotate(1deg);
border-radius: 50% 50% 50% 100%;
}
}
&-6 {
width: 2vmin;
height: 15vmin;
background: $dark-color;
left: 48.7vmin;
&::before {
width: 1vmin;
height: 1vmin;
background: $bg-color;
top: 0.7vmin;
left: -1vmin;
transform: skewY(15deg);
}
&::after {
width: 1.4vmin;
height: 19vmin;
background: $dark-color;
top: 10vmin;
left: -1vmin;
transform: rotate(7deg);
}
}
&-7 {
z-index: 2;
width: 1.6vmin;
height: 13vmin;
background: $dark-color;
top: 38vmin;
left: -47vmin;
transform: rotate(-11deg);
border-radius: 0 0 0 45%;
&::before {
width: 25vmin;
height: 18vmin;
background: $dark-color;
top: 10vmin;
left: -2.3vmin;
transform: rotate(27deg) skewX(12deg);
border-radius: 0 0 10% 85%;
}
&::after {
width: 32vmin;
height: 15vmin;
background: $dark-color;
top: 15.1vmin;
left: 16vmin;
transform: rotate(-33.5deg);
border-radius: 0 0 56% 8.5vmin;
}
}
&-8 {
z-index: 2;
width: 4vmin;
height: 9.5vmin;
background: $dark-color;
top: 44.2vmin;
left: 42vmin;
transform: rotate(-3deg);
border-radius: 0 0 100% 0;
&::before {
width: 6vmin;
height: 4vmin;
background: $dark-color;
top: 19.2vmin;
left: -23vmin;
transform: rotate(5deg);
border-radius: 50%;
}
&::after {
width: 7vmin;
height: 2vmin;
background: $bg-color;
top: 22.4vmin;
left: -27vmin;
transform: rotate(15deg);
}
}
&-9 {
z-index: 2;
width: 3vmin;
height: 1vmin;
background: $dark-color;
top: 82vmin;
left: 3vmin;
transform: rotate(5deg);
&::before {
width: 8vmin;
height: 1.2vmin;
background: $bg-color;
top: -1.6vmin;
left: 5.4vmin;
transform: rotate(-49deg);
border-radius: 40%;
}
&::after {
width: 3.5vmin;
height: 1.4vmin;
background: $bg-color;
top: -3.5vmin;
left: 9.2vmin;
transform: rotate(-40deg);
border-radius: 40%;
}
}
&-10 {
z-index: 2;
width: 7vmin;
height: 2vmin;
background: $bg-color;
top: 83.1vmin;
left: 17vmin;
transform: rotate(-35deg);
&::before {
width: 4.5vmin;
height: 1vmin;
background: $dark-color;
top: -1.9vmin;
left: 11vmin;
transform: rotate(-12deg);
border-radius: 50%;
}
&::after {
width: 10vmin;
height: 1vmin;
background: $bg-color;
top: -3vmin;
left: 14.2vmin;
transform: rotate(-22deg);
}
}
&-11 {
z-index: 2;
width: 15vmin;
height: 14vmin;
background: $bg-color;
top: 38.2vmin;
left: 28.2vmin;
transform: skewX(-6deg);
border-radius: 0 0 5vmin 0;
&::before {
width: 2.5vmin;
height: 13.2vmin;
background: $bg-color;
top: 8.8vmin;
left: 10vmin;
transform: rotate(26deg);
border-radius: 22%;
}
&::after {
width: 3vmin;
height: 3vmin;
background: $bg-color;
top: 19.2vmin;
left: 6.8vmin;
transform: rotate(28deg) skewY(-20deg);
border-radius: 0 30% 50% 0;
}
}
&-12 {
z-index: 2;
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: 69vmin;
left: 22.2vmin;
transform: skewX(-55deg);
border-radius: 0 0 0 100%;
&::before {
width: 20vmin;
height: 15vmin;
background: $bg-color;
top: -15.1vmin;
left: -24.5vmin;
transform: skewX(55deg) rotate(15deg);
border-radius: 0 0 40% 0;
}
&::after {
width: 5vmin;
height: 5vmin;
background: $bg-color;
top: -2.5vmin;
left: -6vmin;
transform: skewX(55deg) rotate(49deg);
border-radius: 0 0 1.2vmin 0;
}
}
&-13 {
z-index: 2;
width: 25vmin;
height: 22vmin;
background: $bg-color;
top: 41vmin;
left: -19.9vmin;
transform: rotate(-10deg);
border-radius: 0 0 0 14vmin;
&::before {
width: 7vmin;
height: 21vmin;
background: $bg-color;
top: 7vmin;
left: 2.3vmin;
transform: rotate(-27deg);
border-radius: 50%;
}
&::after {
width: 8.2vmin;
height: 4vmin;
background: $bg-color;
top: 24.9vmin;
left: 11.1vmin;
transform: rotate(6deg) skewX(-35deg);
border-radius: 0 0 1vmin 50%;
}
}
&-14 {
z-index: 2;
width: 7vmin;
height: 2vmin;
background: $bg-color;
top: 72.3vmin;
left: -18vmin;
transform: rotate(12deg);
border-radius: 50%;
&::before {
width: 15vmin;
height: 7vmin;
background: $bg-color;
top: -8.8vmin;
left: 1.9vmin;
transform: rotate(-22deg);
}
&::after {
width: 3.3vmin;
height: 5vmin;
background: $bg-color;
top: -4.8vmin;
left: 14.6vmin;
transform: rotate(-48deg) skewY(15deg);
border-radius: 0 0 0.4vmin 40%;
}
}
&-15 {
z-index: 2;
width: 3vmin;
height: 1vmin;
background: $bg-color;
top: 69.7vmin;
left: -1vmin;
transform: rotate(-40deg);
&::before {
width: 2vmin;
height: 2vmin;
background: $bg-color;
top: -0.3vmin;
left: 2.2vmin;
transform: rotate(40deg);
}
&::after {
width: 1.95vmin;
height: 1.85vmin;
background: $dark-color;
top: 1vmin;
left: 1.2vmin;
transform: rotate(40deg);
border-radius: 50%;
}
}
}
.forehead {
&-1 {
width: 16.8vmin;
height: 3vmin;
background: $dark-color;
top: -23.2vmin;
left: -1.9vmin;
transform: rotate(-3.7deg);
border-radius: 0 0 100% 100%;
&::before {
width: 17.5vmin;
height: 3vmin;
background: $bg-color;
top: -1.1vmin;
left: -0.3vmin;
transform: rotate(-0.5deg);
}
&::after {
width: 17.5vmin;
height: 3vmin;
background: $bg-color;
top: -0.7vmin;
left: -0.3vmin;
transform: rotate(0.4deg);
border-radius: 50%;
}
}
&-2 {
width: 14vmin;
height: 1vmin;
background: $dark-color;
top: -28.9vmin;
left: -12.3vmin;
transform: rotate(-1.2deg);
border-radius: 100% 100% 0 0;
&::before {
width: 14.5vmin;
height: 1vmin;
background: $bg-color;
top: 0.75vmin;
left: -0.3vmin;
transform: rotate(1.5deg);
}
&::after {
width: 10vmin;
height: 1vmin;
background: $bg-color;
top: 0.7vmin;
left: 1.7vmin;
transform: rotate(1deg);
border-radius: 50%;
}
}
&-3 {
width: 8vmin;
height: 0.9vmin;
background: $dark-color;
top: -29.6vmin;
left: 8vmin;
transform: rotate(-6deg);
border-radius: 0 0 70% 50%;
&::before {
width: 9.5vmin;
height: 1vmin;
background: $bg-color;
top: -0.7vmin;
left: -0.3vmin;
transform: rotate(1.5deg);
border-radius: 30%;
}
&::after {
width: 2vmin;
height: 3vmin;
background: $bg-color;
top: -1.6vmin;
left: 7.6vmin;
transform: rotate(-55deg);
}
}
}
.eyewear-right {
&-1 {
z-index: 2;
width: 19vmin;
height: 14vmin;
background: $dark-color;
top: 1.3vmin;
left: 16.5vmin;
transform: rotate(-7deg) skewX(20deg);
border-radius: 8.6vmin 0 0 0;
&::before {
width: 11vmin;
height: 3vmin;
background: $dark-color;
top: -0.5vmin;
left: 10vmin;
}
&::after {
width: 3vmin;
height: 1.1vmin;
background: $bg-color;
top: -0.9vmin;
left: 8.4vmin;
transform: rotate(7deg) skewX(-45deg);
border-radius: 0 0 100% 0;
}
}
&-2 {
z-index: 2;
width: 15vmin;
height: 3vmin;
background: $bg-color;
top: -16.7vmin;
left: 21vmin;
transform: rotate(-2deg);
&::before {
width: 1.5vmin;
height: 0.9vmin;
background: $bg-color;
top: 2.8vmin;
left: 3.7vmin;
transform: skewX(-40deg);
border-radius: 0 0 100% 0;
}
&::after {
width: 1.65vmin;
height: 1.1vmin;
background: $bg-color;
top: 2.8vmin;
left: 5.3vmin;
transform: skewX(-40deg);
border-radius: 0 0 85% 0.1vmin;
}
}
&-3 {
z-index: 2;
width: 1.34vmin;
height: 1.1vmin;
background: $bg-color;
top: -12.8vmin;
left: 21.8vmin;
transform: skewX(-48deg);
border-radius: 0 0 100% 0;
&::before {
width: 1.4vmin;
height: 1.6vmin;
background: $bg-color;
top: -0.8vmin;
left: 1.55vmin;
transform: skewY(-40deg) skewX(10deg);
}
&::after {
width: 4vmin;
height: 0.5vmin;
background: $bg-color;
top: -0.3vmin;
left: -1.7vmin;
transform: rotate(-3deg);
}
}
&-4 {
z-index: 2;
width: 1.25vmin;
height: 1.2vmin;
background: $bg-color;
top: -12.9vmin;
left: 27.9vmin;
transform: skewX(-48deg);
border-radius: 0 0 90% 0;
&::before {
width: 1vmin;
height: 1.4vmin;
background: $bg-color;
top: -0.1vmin;
left: 1.6vmin;
transform: skewX(5deg) skewY(5deg);
}
&::after {
width: 3vmin;
height: 0.5vmin;
background: $bg-color;
top: -0.2vmin;
left: -1vmin;
transform: rotate(-8deg);
}
}
&-5 {
z-index: 2;
width: 0.5vmin;
height: 1vmin;
background: $bg-color;
top: -13.5vmin;
left: 30.8vmin;
transform: rotate(5deg);
&::before {
width: 0.8vmin;
height: 2vmin;
background: $bg-color;
top: -0.3vmin;
left: 0.35vmin;
transform: rotate(60deg);
border-radius: 0 0 0 100%;
}
&::after {
width: 4vmin;
height: 4vmin;
background: $bg-color;
top: -0.1vmin;
left: 0.4vmin;
transform: skewX(-40deg);
}
}
&-6 {
z-index: 2;
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: -12.8vmin;
left: 32.5vmin;
&::before {
width: 2.5vmin;
height: 0.8vmin;
background: $dark-color;
top: 4.7vmin;
left: 1.8vmin;
transform: rotate(-5deg);
}
&::after {
width: 6vmin;
height: 0.9vmin;
background: $dark-color;
top: 2.55vmin;
left: 3.1vmin;
transform: rotate(-48deg);
}
}
&-7 {
z-index: 2;
width: 1.8vmin;
height: 0.5vmin;
background: $bg-color;
top: -4.3vmin;
left: 37.9vmin;
transform: rotate(-1deg);
border-radius: 50%;
&::before {
width: 0.5vmin;
height: 4vmin;
background: $bg-color;
top: -0.7vmin;
left: 2vmin;
transform: rotate(48deg);
}
&::after {
width: 11.9vmin;
height: 5vmin;
background: $dark-color;
top: 7.2vmin;
left: -15.6vmin;
transform: rotate(15deg);
border-radius: 0 0 2.2vmin 0;
}
}
&-8 {
z-index: 2;
width: 15vmin;
height: 13.6vmin;
background: $bg-color;
top: 3.7vmin;
left: 14.8vmin;
transform: rotate(-7deg) skewX(25deg);
border-radius: 8.4vmin 0 0 4vmin;
&::before {
width: 5vmin;
height: 0.6vmin;
background: $bg-color;
top: -0.1vmin;
left: 11vmin;
transform: rotate(1deg);
border-radius: 50%;
}
&::after {
width: 5.4vmin;
height: 10vmin;
background: $bg-color;
top: 0.3vmin;
left: 13.9vmin;
transform: rotate(9deg);
border-radius: 0 0 100% 0;
}
}
&-9 {
z-index: 2;
width: 4.5vmin;
height: 10vmin;
background: $bg-color;
top: 7vmin;
left: 35.2vmin;
transform: rotate(-30deg);
&::before {
width: 7.2vmin;
height: 1.1vmin;
background: $bg-color;
top: 5.3vmin;
left: -9.1vmin;
transform: rotate(30deg);
border-radius: 0 0 90% 0;
}
}
&-10 {
z-index: 2;
width: 15vmin;
height: 11.5vmin;
background: $dark-color;
top: 4.5vmin;
left: 16.3vmin;
transform: rotate(-3deg) skewX(24deg);
border-radius: 6vmin 0 7vmin 4vmin;
&::before {
width: 14vmin;
height: 7vmin;
background: $dark-color;
top: -1vmin;
left: 0.85vmin;
transform: skewX(-18deg) rotate(1deg);
border-radius: 58% 0 0 2vmin;
}
&::after {
width: 11vmin;
height: 1vmin;
background: $dark-color;
top: -1.2vmin;
left: 8vmin;
transform: rotate(0.5deg);
border-radius: 50%;
}
}
&-11 {
z-index: 2;
width: 13vmin;
height: 9.5vmin;
background: $dark-color;
top: 7.2vmin;
left: 23.5vmin;
transform: skewX(12.6deg) rotate(3deg);
border-radius: 0 0 78% 9%;
&::before {
width: 1.4vmin;
height: 6.5vmin;
background: $dark-color;
top: -1.65vmin;
left: 12vmin;
transform: rotate(12deg);
border-radius: 50%;
}
&::after {
width: 4vmin;
height: 2vmin;
background: $bg-color;
top: -4.2vmin;
left: 11vmin;
}
}
&-12 {
z-index: 2;
width: 1.3vmin;
height: 5vmin;
background: $dark-color;
top: -6.1vmin;
left: 32.4vmin;
transform: rotate(-45deg);
border-radius: 50%;
&::before {
width: 5vmin;
height: 5vmin;
background: $dark-color;
top: -0.5vmin;
left: -3vmin;
transform: rotate(35deg);
border-radius: 0 100% 0 0;
}
}
}
.eyewear-center {
&-1 {
z-index: 2;
width: 6vmin;
height: 0.9vmin;
background: $dark-color;
top: -1.7vmin;
left: -7vmin;
&::before {
width: 0.7vmin;
height: 3vmin;
background: $dark-color;
top: -2vmin;
left: 0.2vmin;
transform: rotate(-30deg);
}
&::after {
width: 0.7vmin;
height: 2.3vmin;
background: $dark-color;
top: 0.2vmin;
left: 0.5vmin;
transform: rotate(5deg);
}
}
&-2 {
z-index: 2;
width: 6.5vmin;
height: 0.8vmin;
background: $dark-color;
top: -6.5vmin;
left: -6.8vmin;
border-radius: 0 0 0 30%;
&::before {
width: 2vmin;
height: 2vmin;
background: $dark-color;
top: -1.7vmin;
left: -1vmin;
border-radius: 100% 0 0 0;
}
&::after {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: -2.15vmin;
left: -0.6vmin;
transform: rotate(25deg);
border-radius: 50%;
}
}
&-3 {
z-index: 2;
width: 2vmin;
height: 0.5vmin;
background: $bg-color;
top: -9.4vmin;
left: -15.4vmin;
transform: rotate(40deg);
border-radius: 0 0 0.2vmin 0;
&::before {
width: 1vmin;
height: 1.5vmin;
background: $bg-color;
top: -1.8vmin;
left: 1.1vmin;
transform: rotate(-5deg);
}
&::after {
width: 1.5vmin;
height: 2vmin;
background: $bg-color;
top: -2.35vmin;
left: 2.2vmin;
transform: rotate(-40deg) skewX(-15deg);
border-radius: 0 0 0 0.1vmin;
}
}
&-4 {
z-index: 2;
width: 1.2vmin;
height: 0.4vmin;
background: $bg-color;
top: -0.6vmin;
left: -9.3vmin;
transform: rotate(3deg);
border-radius: 50%;
&::before {
width: 1.6vmin;
height: 0.2vmin;
background: $bg-color;
top: -0.1vmin;
left: 2.25vmin;
transform: rotate(-6deg);
border-radius: 50%;
}
}
}
.eyewear-left {
&-1 {
z-index: 2;
width: 17.5vmin;
height: 13vmin;
background: $dark-color;
top: 1.75vmin;
left: -27.3vmin;
transform: rotate(-2deg) skewX(-20deg);
border-radius: 0 9.4vmin 0 40%;
&::before {
width: 11vmin;
height: 3vmin;
background: $dark-color;
top: -1vmin;
left: -1vmin;
}
&::after {
width: 4vmin;
height: 4vmin;
background: $bg-color;
top: 10.6vmin;
left: 15vmin;
}
}
&-2 {
z-index: 3;
width: 5vmin;
height: 1.5vmin;
background: $bg-color;
top: -13vmin;
left: -23vmin;
transform: rotate(10deg);
border-radius: 20%;
&::before {
width: 2vmin;
height: 1vmin;
background: $bg-color;
top: 0.65vmin;
left: -1.85vmin;
transform: skewX(40deg) skewY(10deg);
}
&::after {
width: 2vmin;
height: 1vmin;
background: $bg-color;
top: 0.9vmin;
left: -3.5vmin;
transform: skewX(60deg) skewY(14deg);
}
}
&-3 {
z-index: 3;
width: 2vmin;
height: 1.2vmin;
background: $bg-color;
top: -12.7vmin;
left: -35.3vmin;
transform: skewX(50deg) skewY(25deg);
border-radius: 0 0 30% 0;
&::before {
width: 2vmin;
height: 1.4vmin;
background: $bg-color;
top: 0.9vmin;
left: -1.65vmin;
transform: skewX(25deg);
border-radius: 0 0 40% 0;
}
&::after {
width: 3vmin;
height: 1.4vmin;
background: $bg-color;
top: 1.65vmin;
left: -4vmin;
transform: skewX(-50deg) skewY(0deg) rotate(-40deg);
}
}
&-4 {
z-index: 3;
width: 2vmin;
height: 1.2vmin;
background: $bg-color;
top: -11vmin;
left: -40.9vmin;
transform: skewX(63deg) skewY(8deg);
&::before {
width: 3.3vmin;
height: 1.2vmin;
background: $bg-color;
top: 1.1vmin;
left: -3.2vmin;
transform: skewX(30deg) skewY(-11deg);
}
&::after {
width: 1.5vmin;
height: 6vmin;
background: $bg-color;
top: -0.2vmin;
left: -4.3vmin;
transform: skewX(-63deg) skewY(-8deg) rotate(-5deg);
}
}
&-5 {
z-index: 3;
width: 2vmin;
height: 2.5vmin;
background: $bg-color;
top: -6vmin;
left: -43.3vmin;
transform: rotate(-20deg);
&::before {
width: 3vmin;
height: 0.5vmin;
background: $bg-color;
top: -0.75vmin;
left: 4.6vmin;
transform: rotate(5deg);
}
&::after {
width: 0.95vmin;
height: 1.5vmin;
background: $dark-color;
top: 12.6vmin;
left: 12.1vmin;
transform: rotate(28deg);
border-radius: 50%;
}
}
&-6 {
z-index: 3;
width: 12.4vmin;
height: 8vmin;
background: $dark-color;
top: 15.6vmin;
left: -30.8vmin;
border-radius: 0 0 4.2vmin 8vmin;
&::before {
width: 14.5vmin;
height: 10vmin;
background: $bg-color;
top: -3.3vmin;
left: -0.5vmin;
transform: rotate(-6deg);
border-radius: 100%;
}
}
&-7 {
z-index: 3;
width: 10vmin;
height: 9vmin;
background: $bg-color;
top: 3.2vmin;
left: -23.4vmin;
transform: rotate(-8deg) skewX(-25deg);
border-radius: 0 5.4vmin 0 40%;
&::before {
width: 2vmin;
height: 8vmin;
background: $bg-color;
top: 3vmin;
left: 8.6vmin;
transform: rotate(-8deg);
border-radius: 50%;
}
&::after {
width: 1vmin;
height: 2.5vmin;
background: $bg-color;
top: 7vmin;
left: 9.85vmin;
transform: rotate(-20deg);
}
}
&-8 {
z-index: 3;
width: 16vmin;
height: 1.7vmin;
background: $bg-color;
top: -5.8vmin;
left: -34vmin;
transform: rotate(0.7deg);
border-radius: 50%;
&::before {
width: 3vmin;
height: 0.7vmin;
background: $dark-color;
top: 3.9vmin;
left: -1.3vmin;
transform: rotate(8deg);
}
&::after {
width: 2.5vmin;
height: 0.4vmin;
background: $bg-color;
top: 3.5vmin;
left: -1.7vmin;
transform: rotate(5deg);
border-radius: 40%;
}
}
&-9 {
z-index: 3;
width: 10.5vmin;
height: 11vmin;
background: $dark-color;
top: 5.8vmin;
left: -24vmin;
transform: rotate(-14deg) skewX(-11deg);
border-radius: 0 9vmin 100% 60%;
&::before {
width: 14vmin;
height: 10vmin;
background: $dark-color;
top: 1.6vmin;
left: -4.2vmin;
transform: rotate(10deg) skewX(-15deg);
border-radius: 0 9vmin 45% 80%;
}
&::after {
width: 1.5vmin;
height: 5vmin;
background: $dark-color;
top: 5.7vmin;
left: 8.05vmin;
transform: rotate(25deg);
border-radius: 50%;
}
}
&-10 {
z-index: 3;
width: 14.4vmin;
height: 2.5vmin;
background: $dark-color;
top: -4vmin;
left: -32vmin;
transform: rotate(-0.8deg);
border-radius: 50%;
&::before {
width: 9vmin;
height: 1.5vmin;
background: $dark-color;
top: -0.1vmin;
left: 4.2vmin;
transform: rotate(1deg);
border-radius: 50%;
}
&::after {
width: 6vmin;
height: 6vmin;
background: $dark-color;
top: 6.8vmin;
left: -0.4vmin;
border-radius: 0 0 0 100%;
}
}
&-11 {
z-index: 3;
width: 4vmin;
height: 0.8vmin;
background: $dark-color;
top: 18.6vmin;
left: -35vmin;
transform: rotate(9deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 6.5vmin;
background: $dark-color;
top: -8vmin;
left: -5.2vmin;
transform: rotate(-20deg);
border-radius: 50%;
}
&::after {
width: 6vmin;
height: 6vmin;
background: $dark-color;
top: -10vmin;
left: -5.4vmin;
transform: rotate(-15deg);
border-radius: 20%;
}
}
&-12 {
z-index: 3;
width: 3vmin;
height: 3vmin;
background: $dark-color;
top: -2vmin;
left: -44.9vmin;
transform: rotate(-5deg);
border-radius: 70% 0 0 0;
&::before {
width: 1.3vmin;
height: 1vmin;
background: $dark-color;
top: 1.7vmin;
left: -0.4vmin;
transform: rotate(15deg);
}
&::after {
width: 1.3vmin;
height: 1.1vmin;
background: $bg-color;
top: 1.3vmin;
left: -1.4vmin;
transform: rotate(20deg);
border-radius: 0 0 0.5vmin 0;
}
}
}
.nose {
&-1 {
z-index: 3;
width: 1.4vmin;
height: 6.5vmin;
background: $dark-color;
top: 22vmin;
left: 8.4vmin;
transform: skewX(27deg);
&::before {
width: 1vmin;
height: 3.4vmin;
background: $bg-color;
top: 1vmin;
left: 1vmin;
transform: rotate(-4.5deg);
border-radius: 50%;
}
&::after {
width: 3.5vmin;
height: 0.8vmin;
background: $bg-color;
top: 1.35vmin;
left: 1.2vmin;
transform: skewY(22deg) skewX(-22deg);
border-radius: 0 0 0 0.3vmin;
}
}
&-2 {
z-index: 3;
width: 1vmin;
height: 1.6vmin;
background: $dark-color;
top: 26.8vmin;
left: 10.2vmin;
transform: skewX(10deg);
&::before {
width: 1.4vmin;
height: 2.15vmin;
background: $dark-color;
top: 1vmin;
left: 0.8vmin;
transform: skewX(35deg) skewY(-20deg);
border-radius: 0 0 100% 0;
}
&::after {
width: 3vmin;
height: 1.1vmin;
background: $dark-color;
top: 1.1vmin;
left: -2vmin;
transform: skewY(-15deg);
}
}
&-3 {
z-index: 3;
width: 4vmin;
height: 2vmin;
background: $dark-color;
top: 31.2vmin;
left: 2.5vmin;
transform: skewX(-30deg) skewY(-10deg);
border-radius: 100% 0 0.5vmin 0;
&::before {
width: 1.55vmin;
height: 0.7vmin;
background: $bg-color;
top: 0.25vmin;
left: 4vmin;
transform: rotate(-5deg);
border-radius: 50%;
}
&::after {
width: 2.6vmin;
height: 2vmin;
background: $dark-color;
top: -0.55vmin;
left: 0.25vmin;
transform: skewX(-30deg) skewY(12deg);
border-radius: 1vmin 0 0 0;
}
}
&-4 {
z-index: 3;
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: 31.4vmin;
left: -1.1vmin;
transform: skewX(-64deg);
&::before {
width: 6vmin;
height: 7vmin;
background: $dark-color;
top: -6.1vmin;
left: -14.6vmin;
transform: skewX(58deg) skewY(12deg);
border-radius: 0 0 0 25%;
}
&::after {
width: 8vmin;
height: 4vmin;
background: $bg-color;
top: -7.65vmin;
left: -20.5vmin;
transform: skewX(60deg) skewY(30deg);
}
}
&-5 {
z-index: 3;
width: 1.7vmin;
height: 6vmin;
background: $bg-color;
top: 23vmin;
left: -14.1vmin;
transform: rotate(6deg);
border-radius: 0 0 1vmin 1vmin;
&::before {
width: 3.5vmin;
height: 5vmin;
background: $bg-color;
top: 2vmin;
left: 1.4vmin;
}
&::after {
width: 3.4vmin;
height: 1.6vmin;
background: $dark-color;
top: 5.55vmin;
left: 0.7vmin;
transform: rotate(-7deg) skewX(25deg);
border-radius: 2vmin 2vmin 0 0;
}
}
&-6 {
z-index: 3;
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: 33.6vmin;
left: -9.9vmin;
transform: skewY(-8deg);
border-radius: 0 0.4vmin 0 0;
&::after {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: -0.1vmin;
left: -1vmin;
transform: rotate(58deg);
border-radius: 0.2vmin 0 0 0;
}
}
}
.cheek-right {
&-1 {
z-index: 3;
width: 8vmin;
height: 10vmin;
background: $dark-color;
top: 29.5vmin;
left: 34.4vmin;
transform: skewX(3deg) skewY(2deg);
border-radius: 100% 0 84% 0;
&::before {
width: 0.7vmin;
height: 6vmin;
background: $bg-color;
top: -1vmin;
left: 7.8vmin;
transform: rotate(1deg);
}
&::after {
width: 8vmin;
height: 10vmin;
background: $bg-color;
top: -1vmin;
left: -0.8vmin;
transform: rotate(5deg) skewY(5deg);
border-radius: 100% 0 84% 0;
}
}
&-2 {
z-index: 3;
width: 1.2vmin;
height: 4vmin;
background: $bg-color;
top: 21vmin;
left: 40.3vmin;
transform: rotate(15deg);
&::before {
width: 1vmin;
height: 2vmin;
background: $bg-color;
top: 0.7vmin;
left: 1vmin;
transform: rotate(-35deg);
}
&::after {
width: 3vmin;
height: 6vmin;
background: $bg-color;
top: 7.8vmin;
left: -4.6vmin;
transform: rotate(35deg);
border-radius: 0 5% 0 0;
}
}
&-3 {
z-index: 3;
width: 5vmin;
height: 8.5vmin;
background: $dark-color;
top: 46.2vmin;
left: 32.2vmin;
border-radius: 52% 0 100% 0;
&::before {
width: 5vmin;
height: 8.5vmin;
background: $bg-color;
top: 0.4vmin;
left: 1vmin;
transform: rotate(15deg) skewX(5deg);
border-radius: 55% 0 100% 0;
}
&::after {
width: 2vmin;
height: 4vmin;
background: $bg-color;
top: 6.1vmin;
left: 0.35vmin;
transform: rotate(35deg);
}
}
&-4 {
z-index: 3;
width: 4vmin;
height: 1.5vmin;
background: $bg-color;
top: 38.7vmin;
left: 36.4vmin;
transform: rotate(-39deg);
}
}
.cheek-left {
&-1 {
z-index: 3;
width: 10vmin;
height: 1.5vmin;
background: $dark-color;
top: 36.5vmin;
left: -42vmin;
transform: rotate(47deg);
border-radius: 0 2vmin 0 0;
&::before {
width: 4.5vmin;
height: 3.8vmin;
background: $dark-color;
left: 9.7vmin;
transform: skewX(38deg);
border-radius: 0 100% 0 20%;
}
&::after {
width: 5vmin;
height: 5vmin;
background: $bg-color;
top: 1vmin;
left: 10.7vmin;
transform: skewX(55deg) rotate(-9deg);
border-radius: 0 100% 0 0;
}
}
&-2 {
z-index: 3;
width: 7vmin;
height: 0.7vmin;
background: $bg-color;
top: 38.5vmin;
left: -42.25vmin;
transform: rotate(51deg) skewX(62deg);
}
}
.moustache {
&-1 {
z-index: 3;
width: 3vmin;
height: 4vmin;
background: $dark-color;
top: 35.4vmin;
left: -3.2vmin;
transform: skewX(-5deg);
border-radius: 35% 0 0 0;
&::before {
width: 2vmin;
height: 0.5vmin;
background: $bg-color;
top: -0.45vmin;
left: 0.1vmin;
border-radius: 0 0 1vmin 0;
}
&::after {
width: 2vmin;
height: 2vmin;
background: $dark-color;
top: 1.7vmin;
left: -0.7vmin;
transform: skewX(-7deg);
}
}
&-2 {
z-index: 3;
width: 0.4vmin;
height: 1.5vmin;
background: $bg-color;
top: 35.4vmin;
left: -6.6vmin;
transform: skewX(-5deg) skewY(25deg);
border-radius: 0 0 0 100%;
&::before {
width: 1vmin;
height: 0.4vmin;
background: $bg-color;
top: 0.2vmin;
left: -0.7vmin;
transform: rotate(20deg);
}
&::after {
width: 1.8vmin;
height: 2vmin;
background: $dark-color;
top: 1.25vmin;
left: -2.3vmin;
transform: skewX(5deg) skewY(-25deg) rotate(-15deg);
border-radius: 2vmin 2.5vmin 0 0;
}
}
&-3 {
z-index: 3;
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: 38.5vmin;
left: -8vmin;
&::before {
width: 8vmin;
height: 2vmin;
background: $dark-color;
top: -0.5vmin;
left: -9vmin;
transform: rotate(-15deg);
}
&::after {
width: 8vmin;
height: 2.2vmin;
background: $bg-color;
top: -0.8vmin;
left: -9vmin;
transform: rotate(-15deg);
border-radius: 0 0 70% 0;
}
}
&-4 {
z-index: 3;
width: 4vmin;
height: 6vmin;
background: $dark-color;
top: 47.4vmin;
left: -23vmin;
transform: skewY(-12deg) skewX(-4deg);
border-radius: 60% 0 60% 75%;
&::before {
width: 0.5vmin;
height: 1vmin;
background: $dark-color;
left: 0.7vmin;
transform: rotate(25deg) skewY(-30deg);
}
&::after {
width: 4vmin;
height: 5vmin;
background: $bg-color;
top: -3vmin;
left: -3.05vmin;
transform: rotate(27deg);
border-radius: 0 0 0 100%;
}
}
&-5 {
z-index: 3;
width: 6vmin;
height: 3vmin;
background: $dark-color;
top: 42vmin;
left: -13.5vmin;
transform: rotate(-17deg);
&::before {
width: 12vmin;
height: 4vmin;
background: $dark-color;
top: 1.45vmin;
left: -1vmin;
transform: rotate(17deg) skewY(-6deg);
}
&::after {
width: 2vmin;
height: 2vmin;
background: $dark-color;
top: 3.35vmin;
left: 0.15vmin;
transform: rotate(37deg) skewY(-2deg) skewX(-2deg);
border-radius: 0 0 5% 0;
}
}
&-6 {
z-index: 3;
width: 3vmin;
height: 1vmin;
background: $dark-color;
top: 49.2vmin;
left: -18vmin;
transform: rotate(-2deg);
&::before {
width: 0.5vmin;
height: 2vmin;
background: $bg-color;
top: 0.9vmin;
left: -0.15vmin;
transform: rotate(29deg);
border-radius: 50%;
}
&::after {
width: 0.5vmin;
height: 1.3vmin;
background: $bg-color;
top: 0.45vmin;
left: 3.4vmin;
transform: rotate(24deg);
border-radius: 50%;
}
}
&-7 {
z-index: 3;
width: 9vmin;
height: 5.5vmin;
background: $dark-color;
top: 43.3vmin;
left: -6.5vmin;
transform: rotate(1deg);
border-radius: 50% 0 1vmin 0;
&::before {
width: 6vmin;
height: 4vmin;
background: $dark-color;
top: 1.5vmin;
left: 7vmin;
transform: rotate(0deg);
border-radius: 0 0 0 10%;
}
&::after {
width: 3.5vmin;
height: 5vmin;
background: $dark-color;
top: -3vmin;
left: 7vmin;
transform: rotate(-60deg);
border-radius: 0 0 1vmin 0;
}
}
&-8 {
z-index: 3;
width: 4vmin;
height: 5vmin;
background: $dark-color;
top: 41vmin;
left: 6.2vmin;
transform: rotate(-39deg);
border-radius: 0 1vmin 0 0;
&::before {
width: 0.2vmin;
height: 1.7vmin;
background: $bg-color;
top: -1.85vmin;
left: 3.2vmin;
transform: rotate(-22deg);
border-radius: 50%;
}
&::after {
width: 3vmin;
height: 3vmin;
background: $dark-color;
top: 4.5vmin;
left: 2.35vmin;
transform: skewX(11deg) skewY(-19deg);
}
}
&-9 {
z-index: 3;
width: 4vmin;
height: 5.5vmin;
background: $dark-color;
top: 48vmin;
left: 16.5vmin;
transform: skewY(10deg);
border-radius: 0 2.3vmin 0 0;
&::before {
width: 3vmin;
height: 4.5vmin;
background: $bg-color;
top: 3vmin;
transform: rotate(-45deg);
border-radius: 0 2.4vmin 0 0;
}
&::after {
width: 4.8vmin;
height: 2vmin;
background: $dark-color;
top: 2vmin;
left: -2.1vmin;
transform: skewY(-5deg);
border-radius: 50%;
}
}
&-10 {
z-index: 3;
width: 3.5vmin;
height: 0.5vmin;
background: $bg-color;
top: 49.3vmin;
left: 6.8vmin;
border-radius: 50%;
&::before {
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: -2vmin;
left: 3vmin;
}
}
}
.mouth {
&-1 {
z-index: 3;
width: 0.9vmin;
height: 3.5vmin;
background: $bg-color;
top: 37.8vmin;
left: -2.2vmin;
transform: rotate(-15deg) skewX(3deg) skewY(-10deg);
border-radius: 1vmin 0 0 0;
&::before {
width: 3.5vmin;
height: 2vmin;
background: $bg-color;
top: 1.5vmin;
left: -3.1vmin;
transform: rotate(12deg) skewX(-5deg);
border-radius: 0.3vmin 0 0 0;
}
&::after {
width: 2vmin;
height: 2.1vmin;
background: $dark-color;
top: 0.9vmin;
left: -2.1vmin;
transform: rotate(-1deg);
border-radius: 0 0 100% 20%;
}
}
&-2 {
z-index: 3;
width: 0.5vmin;
height: 1.5vmin;
background: $bg-color;
top: 37.6vmin;
left: -2.95vmin;
transform: rotate(-2deg);
&::before {
width: 1vmin;
height: 2vmin;
background: $dark-color;
top: 0.9vmin;
left: -2.2vmin;
transform: rotate(-44deg);
border-radius: 10%;
}
&::after {
width: 1vmin;
height: 1.3vmin;
background: $bg-color;
top: 2.3vmin;
left: 0.55vmin;
transform: rotate(-2deg);
}
}
&-3 {
z-index: 3;
width: 6vmin;
height: 3vmin;
background: $bg-color;
top: 46.3vmin;
left: -12.6vmin;
transform: skewX(-48deg) skewY(-5deg);
border-radius: 50% 0 100% 0;
&::before {
width: 0.5vmin;
height: 1vmin;
background: $bg-color;
top: -0.5vmin;
left: 3vmin;
transform: rotate(60deg);
}
&::after {
width: 1.5vmin;
height: 1.5vmin;
background: $bg-color;
top: -1vmin;
left: 5.4vmin;
transform: skewX(48deg) rotate(-20deg);
}
}
&-4 {
z-index: 3;
width: 4.5vmin;
height: 1vmin;
background: $dark-color;
top: 49vmin;
left: -19vmin;
&::before {
width: 4vmin;
height: 1vmin;
background: $dark-color;
top: -0.6vmin;
left: 2vmin;
transform: rotate(-17deg);
}
&::after {
width: 5.8vmin;
height: 1.6vmin;
background: $dark-color;
top: -1.7vmin;
left: 3.5vmin;
transform: rotate(-17deg) skewY(-4deg);
border-radius: 50%;
}
}
&-5 {
z-index: 4;
width: 2.5vmin;
height: 1.7vmin;
background: $bg-color;
top: 42.9vmin;
left: -3vmin;
border-radius: 50%;
&::before {
width: 1.2vmin;
height: 0.4vmin;
background: $dark-color;
top: 1.3vmin;
left: -0.3vmin;
transform: rotate(8deg);
border-radius: 0 100% 0 30%;
}
&::after {
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: 0.6vmin;
left: -0.3vmin;
}
}
&-6 {
z-index: 3;
width: 0;
height: 0;
border-left: 0.9vmin solid transparent;
border-right: 0.9vmin solid transparent;
border-bottom: 1.8vmin solid $bg-color;
top: 43.3vmin;
left: 8vmin;
transform: skewY(16deg) skewX(5deg);
&::before {
width: 4.5vmin;
height: 0.9vmin;
background: $bg-color;
top: 1.45vmin;
left: -5.2vmin;
transform: rotate(-5deg);
}
&::after {
width: 4vmin;
height: 1.5vmin;
background: $dark-color;
top: 1.7vmin;
left: -4.5vmin;
transform: rotate(3deg);
border-radius: 70% 0 0 0;
}
}
&-7 {
z-index: 4;
width: 1.6vmin;
height: 0.3vmin;
background: $dark-color;
top: 44.1vmin;
left: -0.8vmin;
transform: rotate(-23deg);
border-radius: 50%;
&::before {
width: 1vmin;
height: 0.3vmin;
background: $dark-color;
top: -0.4vmin;
left: -1.3vmin;
transform: rotate(43deg);
}
&::after {
width: 0.8vmin;
height: 1.7vmin;
background: $bg-color;
top: 0.1vmin;
left: 3.5vmin;
transform: rotate(-11deg);
border-radius: 0 0.6vmin 0 100%;
}
}
&-8 {
z-index: 3;
width: 1vmin;
height: 0.5vmin;
background: $bg-color;
top: 42.75vmin;
left: 0.4vmin;
transform: rotate(-20deg);
border-radius: 0 0 0 100%;
&::before {
width: 1.55vmin;
height: 1.4vmin;
background: $bg-color;
top: -0.3vmin;
left: 0.9vmin;
transform: rotate(-20deg);
border-radius: 0 0.6vmin 0 80%;
}
&::after {
width: 1.3vmin;
height: 1vmin;
background: $bg-color;
top: 0.2vmin;
left: 1.7vmin;
transform: rotate(40deg) skewY(7deg);
}
}
&-9 {
z-index: 3;
width: 3vmin;
height: 1.9vmin;
background: $bg-color;
top: 46.2vmin;
left: -9.8vmin;
transform: skewX(-40deg);
border-radius: 100% 0.8vmin 0 0;
&::before {
width: 2.4vmin;
height: 0.5vmin;
background: $bg-color;
top: 0.3vmin;
left: 2.4vmin;
transform: rotate(15deg);
}
&::after {
width: 3vmin;
height: 0.8vmin;
background: $bg-color;
top: 0.6vmin;
left: 2vmin;
}
}
&-10 {
z-index: 3;
width: 3vmin;
height: 0.6vmin;
background: $dark-color;
top: 47.95vmin;
left: -12vmin;
transform: rotate(-9deg);
&::before {
width: 2.6vmin;
height: 0.4vmin;
background: $dark-color;
top: 0.05vmin;
left: 2.2vmin;
transform: rotate(7deg);
border-radius: 50%;
}
&::after {
width: 1.2vmin;
height: 0.6vmin;
background: $dark-color;
top: 0.2vmin;
left: 2.5vmin;
transform: rotate(10deg);
}
}
&-11 {
z-index: 3;
width: 7vmin;
height: 0.4vmin;
background: $bg-color;
top: 46.7vmin;
left: 2vmin;
transform: rotate(-1deg);
border-radius: 0 0 0 20%;
&::before {
width: 6vmin;
height: 0.3vmin;
background: $dark-color;
top: 0.3vmin;
left: 0.8vmin;
border-radius: 50%;
}
&::after {
width: 2vmin;
height: 0.8vmin;
background: $bg-color;
top: -0.6vmin;
left: 0.8vmin;
transform: rotate(-10deg);
border-radius: 0 0 0 50%;
}
}
&-12 {
z-index: 3;
width: 3vmin;
height: 1.05vmin;
background: $bg-color;
top: 45.2vmin;
left: 1.1vmin;
transform: skewX(-52deg) skewY(10deg);
border-radius: 1vmin 0 0 0;
&::before {
width: 3.2vmin;
height: 0.3vmin;
background: $bg-color;
top: 0.1vmin;
left: 2.8vmin;
transform: rotate(4deg);
}
&::after {
width: 2.5vmin;
height: 0.5vmin;
background: $bg-color;
top: 0.25vmin;
left: 2.4vmin;
transform: skewX(52deg) skewY(-5deg);
}
}
&-13 {
z-index: 3;
width: 1vmin;
height: 0.45vmin;
background: $bg-color;
top: 46.65vmin;
left: 9.55vmin;
transform: rotate(15deg) skewY(-7deg);
border-radius: 0 0 100% 0;
&::before {
width: 1.5vmin;
height: 0.25vmin;
background: $dark-color;
top: -0.2vmin;
left: -0.3vmin;
transform: rotate(7deg);
}
}
}
.soul-patch {
&-1 {
z-index: 3;
width: 3vmin;
height: 4vmin;
background: $dark-color;
top: 58.2vmin;
left: -3.5vmin;
transform: rotate(33deg);
border-radius: 0.65vmin 0 0 0;
&::before {
width: 2.7vmin;
height: 2.2vmin;
background: $dark-color;
top: 2.45vmin;
left: -1.15vmin;
transform: skewX(32deg) skewY(5deg);
border-radius: 1.3vmin 0 0.2vmin 20%;
}
&::after {
width: 4.5vmin;
height: 2vmin;
background: $dark-color;
top: 2.7vmin;
left: 1.8vmin;
transform: rotate(20deg);
border-radius: 0 100% 0 0;
}
}
&-2 {
z-index: 3;
width: 0.5vmin;
height: 1vmin;
background: $bg-color;
top: 56.8vmin;
left: -7.1vmin;
transform: rotate(-35deg) skewY(-15deg);
&::before {
width: 1vmin;
height: 0.3vmin;
background: $bg-color;
top: 0.7vmin;
left: 0.1vmin;
transform: rotate(-6deg);
border-radius: 50%;
}
&::after {
width: 0.5vmin;
height: 1.5vmin;
background: $dark-color;
top: 2.7vmin;
left: -0.5vmin;
transform: rotate(-15deg);
}
}
&-3 {
z-index: 3;
width: 1.5vmin;
height: 3.4vmin;
background: $dark-color;
top: 59vmin;
left: 1.5vmin;
transform: rotate(-35deg);
border-radius: 0 20% 40% 0;
&::before {
width: 1.3vmin;
height: 2vmin;
background: $bg-color;
top: -1.8vmin;
left: 0.55vmin;
border-radius: 0 0 0 30%;
}
&::after {
width: 1vmin;
height: 1vmin;
background: $dark-color;
top: 2.8vmin;
left: -0.7vmin;
transform: skewX(20deg) skewY(-47deg);
}
}
&-4 {
z-index: 3;
width: 1.5vmin;
height: 0.5vmin;
background: $bg-color;
top: 64vmin;
left: 1.45vmin;
transform: rotate(44deg);
&::before {
width: 2.5vmin;
height: 2.5vmin;
background: $dark-color;
top: -1.1vmin;
left: -2vmin;
transform: skewX(30deg);
}
&::after {
width: 0.6vmin;
height: 2vmin;
background: $bg-color;
top: 0.5vmin;
left: 1.4vmin;
transform: rotate(-30deg);
}
}
}
// design source
// https://ditalgo.com/product/johnny-depp-svg-png-pdf-johnny-depp-silhouette/
// speed code video
// https://twitter.com/asyrafhussin4/status/1534777630989295616
Also see: Tab Triggers