CSS mask-image
How do I make an css mask-image?
What is a css mask-image? How do you make a css mask-image? This script and codes were developed by Ludvig Lindblom on 25 July 2022, Monday.
CSS mask-image - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS mask-image</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(http://fonts.googleapis.com/css?family=Chivo:900);
html { background: #eee url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5383/Nature-HD-Pictures.jpg") no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; font-family: 'Chivo', sans-serif; height: 100%; font-size: 62.5%;
}
body { min-height: 100%; display: table; width: 100%;
}
h1 { display: table-cell; text-align: center; vertical-align: middle; font-size: 20em; margin: 0 auto; padding: 0; text-align: center; color: #eee; -webkit-mask-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5383/splatter-mask_1_1.png"); mask-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5383/splatter-mask_1_1.png");
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <h1>SUMMER</h1> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
CSS mask-image - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Chivo:900);
html { background: #eee url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5383/Nature-HD-Pictures.jpg") no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; font-family: 'Chivo', sans-serif; height: 100%; font-size: 62.5%;
}
body { min-height: 100%; display: table; width: 100%;
}
h1 { display: table-cell; text-align: center; vertical-align: middle; font-size: 20em; margin: 0 auto; padding: 0; text-align: center; color: #eee; -webkit-mask-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5383/splatter-mask_1_1.png"); mask-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5383/splatter-mask_1_1.png");
}
Developer | Ludvig Lindblom |
Username | ludviglindblom |
Uploaded | July 25, 2022 |
Rating | 4 |
Size | 2,271 Kb |
Views | 50,600 |
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 |
Circle star | 2,690 Kb |
Rainy days | 227,548 Kb |
I Am Left logo as a scalable canvas | 2,240 Kb |
The Ultimate Flexbox Cheat Sheet | 7,954 Kb |
Optical illusion - Motion Binding | 3,875 Kb |
Disable JavaScript execution from console | 2,534 Kb |
Css arrows and pies | 2,584 Kb |
JQuery countdown plugin | 4,195 Kb |
Starburst | 3,581 Kb |
Canvas box-shadow pixel art generator | 3,678 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 |
Drill-down Map | Good886 | 8,484 Kb |
Canvas snow | Win7killer | 2,572 Kb |
Responsive Boxes without Images | Andymcfee | 4,120 Kb |
Slides-07-1 POSITION | Exhtml | 1,909 Kb |
Minimal Menu | Achudars | 3,430 Kb |
Ipad Mini Showcase | Hornebom | 10,479 Kb |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
Flat UI - Checkbox FIX | ARS | 2,663 Kb |
Day 11 - Calendar Card | Arnellebalane | 6,984 Kb |
Polygon Logo in CSS | Kai | 3,412 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!