CSS Batman Mask

Developer
Size
2,599 Kb
Views
8,096

How do I make an css batman mask?

Responsive CSS Batman Mask, with hover. Because we can.. What is a css batman mask? How do you make a css batman mask? This script and codes were developed by Mandy Michael on 10 December 2022, Saturday.

CSS Batman Mask Previews

CSS Batman Mask - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Batman Mask</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 class="batman">	<div class="eyes"></div>	<div class="face"></div>
</div> <script src="js/index.js"></script>
</body>
</html>

CSS Batman Mask - Script Codes CSS Codes

html { background: #222; overflow: hidden;
}
.batman { background: #000; width: 50vw; height: 50vw; border-radius: 100%; position: absolute; bottom: 0; left: 50%; -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); -webkit-transition: -webkit-transform 100ms ease-out; transition: -webkit-transform 100ms ease-out; transition: transform 100ms ease-out; transition: transform 100ms ease-out, -webkit-transform 100ms ease-out;
}
.batman:before { content: ""; width: 0; height: 0; position: absolute; -webkit-transform: translate(1%, -25%); transform: translate(1%, -25%); border-left: 2vw solid transparent; border-right: 20vw solid transparent; border-bottom: 30vw solid #000;
}
.batman:after { content: ""; width: 0; height: 0; right: 0; position: absolute; -webkit-transform: translate(-1%, -25%); transform: translate(-1%, -25%); border-left: 20vw solid transparent; border-right: 2vw solid transparent; border-bottom: 30vw solid #000;
}
.batman:hover { -webkit-transform: translate(-50%, 25%); transform: translate(-50%, 25%);
}
.eyes:before { content: ""; position: absolute; top: 61%; left: 50%; width: 0; height: 0; -webkit-transform: rotate(-37deg) translate(46%, 0%); transform: rotate(-37deg) translate(46%, 0%); border-style: solid; border-width: 5vw 0 0 12vw; border-color: transparent transparent transparent #222;
}
.eyes:after { content: ""; position: absolute; top: 60%; left: 13%; width: 0; height: 0; -webkit-transform: rotate(37deg) translate(0, -69%); transform: rotate(37deg) translate(0, -69%); border-style: solid; border-width: 0 0 5vw 12vw; border-color: transparent transparent #222 transparent; z-index: 1;
}
.face { position: absolute; background: #222; z-index: 2; width: 0; height: 0; bottom: 0; left: 50%; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); border-style: solid; border-width: 11vw 21vw 0 21vw; border-color: #000 transparent transparent transparent;
}

CSS Batman Mask - Script Codes JS Codes

// Hover over batman mask...Batman is always watching.
CSS Batman Mask - Script Codes
CSS Batman Mask - Script Codes
Home Page Home
Developer Mandy Michael
Username mandymichael
Uploaded December 10, 2022
Rating 3.5
Size 2,599 Kb
Views 8,096
Do you need developer help for CSS Batman Mask?

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!

Mandy Michael (mandymichael) Script Codes
Create amazing SEO content with AI!

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!