CSS Elephant
How do I make an css elephant?
Saw a elephant by Alacran Creative on Dribbble and decided to make it out of CSS and HTML, enjoy!. What is a css elephant? How do you make a css elephant? This script and codes were developed by Albert Filice on 26 August 2022, Friday.
CSS Elephant - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Elephant</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="body"> <div id="face"></div> <div id="feet"></div> <div id="elephant-text"> <h1 class="chango">Elephant</h1> <span>Illustration by: <br> <a href="http://dribbble.com/shots/651996-Elephant-Kid" target="_blank">Alacran Creative</a> <br><br> CSS and HTML: <br> <a href="https://twitter.com/monstasaurous" target="_blank">Albert Filice</a></span> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
CSS Elephant - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Chango);
.chango { font-family: 'Chango';
}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
*:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
*:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
body { background-color: #E5DCCA;
}
a { text-decoration: none; color: #000; font-weight: bold;
}
a:hover { color: #6b00b3;
}
#body { position: relative; margin: 80px auto; height: 64px; width: 90px; border: 6px solid #5D5D5D; border-bottom: none; border-radius: 45px 45px 0px 0px;
}
#body:before { content: ''; position: absolute; top: 18px; left: -16px; height: 18px; width: 18px; border-top: 6px solid #5D5D5D; border-left: 6px solid #5D5D5D; border-radius: 18px 0px 0px 0px;
}
#body:after { content: ''; position: absolute; top: 8px; left: 31px; height: 26px; width: 13px; border-top: 6px solid #5D5D5D; border-bottom: 6px solid #5D5D5D; border-left: 6px solid #5D5D5D; border-radius: 26px 0px 0px 26px;
}
#face { position: absolute; top: 19px; left: 48px; height: 11px; width: 11px; background-color: #5D5D5D; border-radius: 11px;
}
#face:before { content: ''; position: absolute; top: 16px; left: 20px; height: 23px; width: 6px; background-color: #5D5D5D; border-right: 1px solid rgba(112,112,110,0.5); border-bottom: 1px solid rgba(112,112,110,0.5);
}
#face:after { content: ''; position: absolute; top: 16px; left: 12px; height: 17px; width: 17px; border-left: 6px solid #5D5D5D; border-bottom: 6px solid #5D5D5D; border-radius: 0px 0px 0px 17px;
}
#feet { position: absolute; top: 47px; left: 4px; width: 21px; height: 11px; border-top: 6px solid #5D5D5D; border-right: 6px solid #5D5D5D; border-left: 6px solid #5D5D5D; border-radius: 21px 21px 0px 0px;
}
#feet:before { content: ''; position: absolute; top: -6px; left: 24px; width: 21px; height: 11px; border-top: 6px solid #5D5D5D; border-right: 6px solid #5D5D5D; border-left: 6px solid #5D5D5D; border-radius: 21px 21px 0px 0px;
}
#elephant-text { position: absolute; top: 100%; left: -57px; color: #000; box-shadow: 0px 15px 20px -20px #000;
}
#elephant-text h1 { line-height: 28px; text-shadow: 1 1px 0 #fff;
}
#elephant-text span { position: absolute; padding: 10px 0px; top: 100%; left: 10%; width: 80%;
}
CSS Elephant - Script Codes JS Codes
/*
Inspired by Alacran Creative's dribbble and decided to turn it into CSS and HTML. Enjoy!
*/
Developer | Albert Filice |
Username | monstersaurous |
Uploaded | August 26, 2022 |
Rating | 3 |
Size | 2,492 Kb |
Views | 34,408 |
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 |
Game of 15 | 2,692 Kb |
Single Element Solar Eclipse Animation | 2,296 Kb |
Single Element Icons | 3,423 Kb |
CNIT 133 - Homework 4 - Part 6 | 2,218 Kb |
Single Element Dribbble Logo | 3,236 Kb |
CSS Gameboy | 3,262 Kb |
Message Bubble | 2,024 Kb |
CSS Owl | 2,845 Kb |
Single Element Wine Glass | 2,930 Kb |
CSS Spaceship | 2,789 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 |
SCSS Simple Animated Drop-In | Danwarfel | 2,175 Kb |
Fun animations with CSS3 | Minimalmonkey | 2,360 Kb |
Gradient-ui-button-mark-fx | Tabspace | 1,881 Kb |
Drifting Clouds | Benedikte | 2,247 Kb |
Bootstrap example | Ssaakkaa | 2,716 Kb |
Beveled corners using CSS border attribute | DawsonMediaD | 2,136 Kb |
Calculator - codevember 08 - 2016 | Caiocares | 3,260 Kb |
IE flex collapse bug fix | Rowno | 2,678 Kb |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
Sitemap generator for Sharepoint | Gyusza | 2,518 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!