Brown by pure CSS, no image, no javascript
How do I make an brown by pure css, no image, no javascript?
An asleep Brown by pure CSS, Try to move your mouse over its face! :P. What is a brown by pure css, no image, no javascript? How do you make a brown by pure css, no image, no javascript? This script and codes were developed by AaronChuo (小狂) on 11 September 2022, Sunday.
Brown by pure CSS, no image, no javascript - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Brown by pure CSS, no image, no javascript</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--滑鼠移上去看看熊大怎麼了?-->
<div class="brown-container"> <div class="brown-face"> <div class="brown-left-ear-wrapper"> <div class="brown-ear brown-left-ear"> <div class="brown-ear-inner"></div> </div> </div> <div class="brown-right-ear-wrapper"> <div class="brown-ear brown-right-ear"> <div class="brown-ear-inner"></div> </div> </div> <div class="brown-eye brown-left-eye"></div> <div class="brown-eye brown-right-eye"></div> <div class="brown-mouth"> <div class="brown-nose"></div> <div class="brown-vertical-line"></div> <div class="brown-mouth-left-line"></div> <div class="brown-mouth-right-line"></div> </div> <div class="sleep-bubble"></div> </div> <div class="sleeping sleeping-a">z</div> <div class="sleeping sleeping-b">z</div> <div class="sleeping sleeping-c">z</div>
</div> <script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js'></script>
</body>
</html>
Brown by pure CSS, no image, no javascript - Script Codes CSS Codes
html, body { width: 100%; height: 100%;
}
.brown-container { position: relative; width: 768px; height: 768px; margin: 10% auto;
}
.brown-face > div { position: absolute;
}
.brown-left-ear,
.brown-right-ear,
.brown-face { background: rgb(108, 72, 58);
}
.brown-left-ear-wrapper,
.brown-right-ear-wrapper { overflow: hidden; top: -6.9%; width: 22%; height: 14%; z-index: 1;
}
.brown-left-ear-wrapper { left: 14%; -webkit-transform: rotate(-24.5deg); -moz-transform: rotate(-24.5deg);
}
.brown-right-ear-wrapper { right: 14%; -webkit-transform: rotate(24.5deg); -moz-transform: rotate(24.5deg);
}
.brown-ear { width: 88%; height: 100%; border-top: 9px solid #000; border-right: 9px solid #000; border-left: 9px solid #000; border-radius: 500% 500% 0 0; z-index: 1;
}
.brown-ear-inner { height: 100%; margin: 15px; border-radius: 500% 500% 0 0; background: rgb(76, 46, 36);
}
.brown-left-ear { height: 160%;
}
.brown-right-ear { height: 160%;
}
.brown-face { position: relative; top: 0; left: 0; width: 100%; height: 88%; border: 9px solid #000; border-radius: 500%;
}
.brown-eye { top: 37%; width: 6%; height: 7.8%; border-radius: 500%; background: #000; transition: all .2s ease;
}
.brown-face:hover .brown-eye { border-bottom: 10px solid #000; background: none;
}
.brown-left-eye { left: 38%;
}
.brown-right-eye { right: 38%;
}
.brown-mouth { top: 43.5%; left: 38%; width: 24%; height: 33%; background: rgb(232, 217, 198); border-radius: 48% 47%;
}
.brown-nose { position: absolute; top: 5%; left: 34%; width: 30%; height: 25%; border-radius: 180% 70% 60%; -webkit-transform: rotate(40deg); -moz-transform: rotate(40deg); background: #000;
}
.brown-vertical-line { position: absolute; top: 27%; left: 47%; width: 9%; height: 28%; border-radius: 30px; -webkit-transform: rotate(-4deg); -moz-transform: rotate(-4deg); background: #000;
}
.brown-mouth-left-line { position: absolute; top: 47%; left: 37%; width: 9%; height: 34%; border-radius: 30px; -webkit-transform: rotate(34deg); -moz-transform: rotate(34deg); background: #000;
}
.brown-mouth-right-line { position: absolute; top: 46%; left: 55.5%; width: 9%; height: 29%; border-radius: 30px; -webkit-transform: rotate(-34deg); -moz-transform: rotate(-34deg); background: #000;
}
.sleeping { position: absolute; -webkit-transform: rotate(-15deg); -moz-transform: rotate(-15deg); z-index: 5; color: rgba(0,0,0,0); transition: all 200ms ease-in;
}
.sleeping-a { top: 5%; right: 5%; font: 5em bold;
}
.sleeping-b { top: -3%; right: -3%; font: 7em bold; transition-delay: 100ms;
}
.sleeping-c { top: -13%; right: -11%; font: 9em bold; transition-delay: 200ms;
}
.sleep-bubble { top: 28%; left: 4%; width: 40%; height: 35%; border-radius: 80% 50% 80% 70% / 80% 10% 110% 80%; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); z-index: 99; opacity: 0; background: #3366CC; transition: all .3s linear;
}
.sleep-bubble:after { position: absolute; top: 24%; left: -1%; width: 50%; height: 14%; border-radius: 50% / 70% 70% 30% 30%; -webkit-transform: rotate(-37deg); -moz-transform: rotate(-37deg); z-index: 101; background: rgba(255,255,255,.3); content: '';
}
.brown-face:hover { cursor: pointer;
}
.brown-face:hover ~ .sleeping { color: rgba(0,0,0,1);
}
.brown-face:hover .sleep-bubble { opacity: .9;
}
Developer | AaronChuo (小狂) |
Username | aaronchuo |
Uploaded | September 11, 2022 |
Rating | 3 |
Size | 2,652 Kb |
Views | 28,336 |
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 |
Scifi-style Interative Form | 4,566 Kb |
Ramen by pure CSS | 8,684 Kb |
Cool Future-like Interactive Dropdown | 3,692 Kb |
Gradient Color Spin | 2,986 Kb |
Animated Ability Chart | 4,994 Kb |
The Rocket | 2,651 Kb |
Radar Scanner | 3,595 Kb |
I drink and I know things | 2,218 Kb |
Animated Donut Chart | 4,147 Kb |
Fly to Future | 4,940 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 |
Sidebar Thing | Jonambas | 2,779 Kb |
Factorial | KeithleySLHS | 1,158 Kb |
SVG Scalable Text | Said_FD | 1,451 Kb |
Gradients | Karpovsystems | 2,394 Kb |
Weather App | Kw7oe | 3,162 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
Heatmap Color Scales | Stevepepple | 2,331 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
SVG Text Masking | JMChristensen | 2,141 Kb |
Minimal Menu | Achudars | 3,430 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!