Relax a painful man!
How do I make an relax a painful man!?
Hover him to make him relax. I make this pen on Firefox 22 for Mac.. What is a relax a painful man!? How do you make a relax a painful man!? This script and codes were developed by Keisuke Takahashi on 19 November 2022, Saturday.
Relax a painful man! - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Relax a painful man!</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="h"></div>
</body>
</html>
Relax a painful man! - Script Codes CSS Codes
body { margin:0; background:#fff; overflow:hidden;
}
.h { width:12em; height:16em; margin:6em auto 0; background:hsl(40,50%,70%); border-radius:50% / 0% 0% 60% 60%; cursor:pointer; position:relative; z-index:1; box-shadow: /*Mustache*/ 0 -1.2em 0.2em -1.5em rgba(0,0,0,0.6) inset, /*Sideburns*/ 0.8em -0.2em 0.3em -0.5em rgba(0,0,0,0.6) inset, -0.8em -0.2em 0.3em -0.5em rgba(0,0,0,0.6) inset, /*heir*/ -1em -3em 0 0.5em hsl(20,30%,10%), 0.5em -3em 0 1em hsl(20,30%,10%), /*face line*/ 0 0 0 0.3em hsl(40,0%,0%), /*background*/ 0 0 10em 4em hsl(240,40%,40%), 0 0 0;
}
.h:after { content:""; display:block; width:2px; height:2px; position:absolute; border-radius:50%; transform:rotate(0deg); z-index:10; top:3.5em; left:5.9em; left:calc(6em - 2px); background:transparent; box-shadow: /*right eye*/ 2.8em 0.9em 0 0.2em #ccf, 3em 1.3em 0 0.6em #06c, 3em 1.3em 0 1em #fff, 3em 1.3em 0.3em 1.2em #000, 3em 1.5em 0.5em 2em hsla(40,50%,30%,0.3), /*nose*/ 0 1.2em 0.5em 0.8em hsla(20,50%,90%,0.6), 0 2.2em 0.5em 0.5em hsla(20,50%,90%,0.6), 0 3.2em 0.5em 0.4em hsla(20,50%,90%,0.6), 0 4.3em 0.4em 0.8em hsla(20,50%,90%,0.8), 0 4.6em 0.3em 1.2em hsla(40,50%,30%,0.3), -0.5em 5.2em 0.1em 0.2em hsla(40,50%,10%,0.8), 0.5em 5.2em 0.1em 0.2em hsla(40,50%,10%,0.8), /*left eye*/ -3.2em 0.9em 0 0.2em #ccf, -3em 1.3em 0 0.6em #06c, -3em 1.3em 0 1em #fff, -3em 1.3em 0.3em 1.2em #000, -3em 1.5em 0.5em 2em hsla(40,50%,30%,0.3), /*face shadow*/ 3.5em 4.5em 0.3em 0.5em hsla(10,50%,90%,0.8), 4em 5em 0.5em 1.6em hsla(30,50%,90%,0.4), -4.5em 4.5em 0.3em 0.5em hsla(20,50%,90%,0.6), -4em 5em 0.5em 1.6em hsla(30,50%,90%,0.4), 2.8em 1.8em 0.5em 2.5em hsla(40,50%,30%,0.2), -2.8em 1.8em 0.5em 2.5em hsla(40,50%,30%,0.2), 0 0 0;
}
.h:before { content:""; display:block; width:4em; height:1.2em; top:10em; left:4em; position:absolute; border-radius:1% 1% 50% 50%; background:hsla(10,80%,40%,0.8); transform:rotate(0deg); z-index:30; box-shadow: /*eyeblow*/ -3.4em -7.6em 0.1em 0.1em hsl(40,50%,70%), -3.3em -7.2em 0.1em 0 hsla(20,70%,10%,1), 3.4em -7.6em 0.1em 0.1em hsl(40,50%,70%), 3.3em -7.2em 0.1em 0 hsla(20,70%,10%,1), /*mouse*/ 0 -0.2em 0.1em 0.1em hsla(20,70%,30%,0.5), 0 0.2em 0.2em 0.2em hsla(20,70%,70%,0.9), 0 -0.8em 0.8em -0.2em hsla(40,50%,20%,0.4), 0 0.8em 0.3em -0.2em hsla(40,50%,20%,0.8), 0em 0.5em 0em -0.3em hsla(40,50%,100%,0.9) inset, 0em -0.5em 0em -0.4em hsla(40,0%,70%,0.9) inset, 0em 0em 0.4em 0.1em hsla(40,50%,20%,0.9) inset, 0 0 0;
}
.h { -webkit-animation:w 0.5s infinite alternate; -moz-animation:w 0.5s infinite alternate; animation:w 0.5s infinite alternate; -webkit-transition:0.2s; -moz-transition:0.2s; transition:0.2s;
}
.h:hover { -webkit-animation-duration:2s; -moz-animation-duration:2s; animation-duration:2s; box-shadow: /*Mustache*/ 0 -1.2em 0.2em -1.5em rgba(0,0,0,0.6) inset, /*Sideburns*/ 0.8em -0.2em 0.3em -0.5em rgba(0,0,0,0.6) inset, -0.8em -0.2em 0.3em -0.5em rgba(0,0,0,0.6) inset, /*heir*/ -1em -3em 0 0.5em hsl(20,30%,10%), 0.5em -3em 0 1em hsl(20,30%,10%), /*face line*/ 0 0 0 0.3em hsl(40,0%,0%), /*background*/ 0 0 10em 4em hsl(90,40%,40%), 0 0 0;
}
.h:after{ -webkit-animation:wa 0.4s infinite alternate; -moz-animation:wa 0.4s infinite alternate; animation:wa 0.4s infinite alternate; -webkit-transition:0.3s; -moz-transition:0.3s; transition:0.3s;
}
.h:before { -webkit-animation:wb 0.5s infinite alternate; -moz-animation:wb 0.5s infinite alternate; animation:wb 0.5s infinite alternate; -webkit-transition:0.3s; -moz-transition:0.3s; transition:0.3s;
}
.h:hover:before,
.h:hover:after { -webkit-animation-duration:2s; -moz-animation-duration:2s; animation-duration:2s;
}
.h:hover:before { border-radius:50%; width:3em; height:1em; left:4.5em; box-shadow: /*eyeblow*/ -3.2em -8.4em 0.1em 0.1em hsl(40,50%,70%), -3.3em -8.8em 0.1em 0 hsla(20,70%,10%,1), 3.4em -8.4em 0.1em 0.1em hsl(40,50%,70%), 3.3em -8.8em 0.1em 0 hsla(20,70%,10%,1), /*mouse*/ 0 -0.2em 0.1em 0.1em hsla(20,70%,30%,0.5), 0 0.2em 0.2em 0.2em hsla(20,70%,70%,0.9), 0 -0.8em 0.8em -0.2em hsla(40,50%,20%,0.4), 0 0.8em 0.3em -0.2em hsla(40,50%,20%,0.8), 0em 0.5em 0em -0.3em hsla(40,50%,100%,0.9) inset, 0em -0.5em 0em -0.4em hsla(40,0%,70%,0.9) inset, 0em 0em 0.4em 0.1em hsla(40,50%,20%,0.9) inset, 0 0 0;
}
/* -webkit- */
@-webkit-keyframes w { 100% { -webkit-transform:translate3d(0,0,0) scale(1,1.1); border-radius:60% / 0% 10% 60% 60%; }
}
@-webkit-keyframes wa { 100% {-webkit-transform:translate3d(0,0,0) scale(0.9);}
}
@-webkit-keyframes wb { 0% {-webkit-transform:translate3d(0,0,0) scale(0.5,1);} 100% { -webkit-transform:translate3d(0,1.5em,0) scale(1,1.2); border-radius:50% / 30% 50% 60% 60%; }
}
/* -moz- */
@-moz-keyframes w { 100% { -moz-transform:translate3d(0,0,0) scale(1,1.1); border-radius:60% / 0% 10% 60% 60%; }
}
@-moz-keyframes wa { 100% {-moz-transform:translate3d(0,0,0) scale(0.9);}
}
@-moz-keyframes wb { 0% {-moz-transform:translate3d(0,0,0) scale(0.5,1);} 100% { -moz-transform:translate3d(0,1.5em,0) scale(1,1.2); border-radius:50% / 30% 50% 60% 60%; }
}
/* none */
@keyframes w { 100% { transform:translate3d(0,0,0) scale(1,1.1); border-radius:60% / 0% 10% 60% 60%; }
}
@keyframes wa { 100% {transform:translate3d(0,0,0) scale(0.9);}
}
@keyframes wb { 0% {transform:translate3d(0,0,0) scale(0.5,1);} 100% { transform:translate3d(0,1.5em,0) scale(1,1.2); border-radius:50% / 30% 50% 60% 60%; }
}
Developer | Keisuke Takahashi |
Username | ksksoft |
Uploaded | November 19, 2022 |
Rating | 3.5 |
Size | 2,520 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
The mount | 3,444 Kb |
Pure CSS candle light animation by One element | 2,193 Kb |
Table-cell with gutter | 1,923 Kb |
Pure css Dialogue UI | 2,457 Kb |
Pure CSS drower menu with transition-delay | 1,898 Kb |
Flexbox layout patterns | 2,546 Kb |
One div DORAEMON | 2,448 Kb |
Gooey text melt away... | 2,420 Kb |
Pure css thumbnails hover | 1,773 Kb |
Figure 8 animation Type 2 | 1,925 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A cube | KyleDavidE | 18,627 Kb |
Reading Grid | Tappily | 4,306 Kb |
SCSS Simple Animated Drop-In | Danwarfel | 2,175 Kb |
Tumblr API | Juanv911 | 2,436 Kb |
Flexbox slider | Rendro | 3,459 Kb |
CSS3 Fullscreen Background Slideshow | Leetech | 3,435 Kb |
Add This API | ThatGuySam | 2,848 Kb |
Airbnb Homepage | SindhujaD | 2,480 Kb |
Kut D3 | Jellevrswk | 3,687 Kb |
Avero - Collectieve LVVP Arbeidsongeschiktheidsverzekering - CSS - som | Frederiquebonink | 12,554 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!