CSS Whale!
How do I make an css whale!?
Got the idea from Danny Lelieveld's website:http://217.67.248.138/~dlelieveld/dannylelieveld.com/?portfolio=animals-illustraties. What is a css whale!? How do you make a css whale!? This script and codes were developed by Albert Filice on 26 August 2022, Friday.
CSS Whale! - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Whale!</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="squirt"></div> <div id="tail"></div> <div id="mouth"></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 Whale! - Script Codes CSS Codes
* { -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 { position: relative; margin: 100px auto; width: 300px; height: 150px; background-color: #000; border-top: 1px solid #565654; border-radius: 0px 0px 150px 150px;
}
#body:before { content: ''; position: absolute; top: 17px; left: 208px; width: 12px; height: 12px; background-color: #fff; border-radius: 16px; z-index: 2;
}
#body:after { content: ''; position: absolute; top: -8px; left: 189px; width: 50px; height: 50px; border-radius: 25px; background-color: #000;
}
#squirt { position: absolute; top: -49px; left: 150px; width: 34px; height: 34px; background-color: #000; border-radius: 17px 17px 0px 17px; box-shadow: -3px -32px 0px -11px #000;
}
#squirt:before { content: ''; position: absolute; top: -20px; left: 36px; width: 32px; height: 32px; background-color: #000; border-radius: 16px 16px 16px 0px; box-shadow: 2px -29px 0px -9px #000;
}
#squirt:after { content: ''; position: absolute; top: -35px; left: 23px; width: 18px; height: 18px; background-color: #000; border-radius: 9px 9px 0px 9px; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg);
}
#tail, #tail:before { position: absolute; width: 39px; height: 39px; background-color: black; border-bottom: 1px solid #7B7B7A;
}
#tail { top: -43px; border-radius: 19px 0px 19px 0px;
}
#tail:before { content: ''; top: 0px; left: -39px; border-left: 1px solid #BABABA; border-radius: 0px 19px 0px 19px;
}
#mouth { position: absolute; top: 0px; left: 150px; width: 150px; height: 150px; z-index: 1; border-radius: 0px 0px 150px 0px; background-image: -webkit-linear-gradient(left, #fff 0%, #fff 2%, #000 2%, #000 8%, #fff 8%, #fff 10%, #000 10%, #000 16%, #fff 16%, #fff 18%, #000 18%, #000 24%, #fff 24%, #fff 26%, #000 26%, #000 32%, #fff 32%, #fff 34%, #000 34%, #000 40%, #fff 40%, #fff 42%, #000 42%, #000 48%, #fff 48%, #fff 50%, #000 50%, #000 56%, #fff 56%, #fff 58%, #000 58%, #000 64%, #fff 64%, #fff 66%, #000 66%, #000 72%, #fff 72%, #fff 74%, #000 74%, #000 80%, #fff 80%, #fff 82%, #000 82%, #000 88%, #fff 88%, #fff 90%, #000 90%, #000 96%, #fff 96%, #fff 98%, #000 98%, #000 100%); background-image: -moz-linear-gradient(left, #fff 0%, #fff 2%, #000 2%, #000 8%, #fff 8%, #fff 10%, #000 10%, #000 16%, #fff 16%, #fff 18%, #000 18%, #000 24%, #fff 24%, #fff 26%, #000 26%, #000 32%, #fff 32%, #fff 34%, #000 34%, #000 40%, #fff 40%, #fff 42%, #000 42%, #000 48%, #fff 48%, #fff 50%, #000 50%, #000 56%, #fff 56%, #fff 58%, #000 58%, #000 64%, #fff 64%, #fff 66%, #000 66%, #000 72%, #fff 72%, #fff 74%, #000 74%, #000 80%, #fff 80%, #fff 82%, #000 82%, #000 88%, #fff 88%, #fff 90%, #000 90%, #000 96%, #fff 96%, #fff 98%, #000 98%, #000 100%); border-top: 21px solid #000; box-shadow: 0px 3px #fff inset;
}
#mouth:before { content: ''; position: absolute; width: 80px; height: 70px; background-color: black; border-radius: 0px 0px 90px 0px; box-shadow: 2px 2px 0px 1px #fff;
}
CSS Whale! - Script Codes JS Codes
/*
Inspired by: Danny Lelieveld
http://217.67.248.138/~dlelieveld/dannylelieveld.com/?portfolio=animals-illustraties
Danny's Twitter: DannyLelieveld
My Twitter: monstasaurous
Can anybody make the mouth a bit better, more like the origional? Couldn't get the slant going on.
*/
Developer | Albert Filice |
Username | monstersaurous |
Uploaded | August 26, 2022 |
Rating | 3 |
Size | 2,602 Kb |
Views | 40,480 |
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 |
Single Element Dribbble Logo | 3,236 Kb |
Game of 15 | 2,692 Kb |
CSS Gameboy | 3,262 Kb |
Single Element Loader | 2,600 Kb |
Single Element Google Inbox Sun | 2,303 Kb |
Single Element Icons | 3,423 Kb |
Message Bubble | 2,024 Kb |
Single Element Wine Glass | 2,930 Kb |
CSS Owl | 2,845 Kb |
CSS Elephant | 2,492 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 |
Simple jQuery Slider | Jurbank | 2,874 Kb |
Minimal Menu | Achudars | 3,430 Kb |
See Through | Larrygeams | 77,410 Kb |
A Pen by John Malc | F789gh | 1,420 Kb |
Wikipedia viewer | Chpecson | 2,865 Kb |
CSS Colors | Alexpate | 2,232 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
A Pen by Patrick Cox | Pcridesagain | 2,899 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Count up | Alanshortis | 2,391 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!