Webkit Background Text Clip
How do I make an webkit background text clip?
Using webkits text-fill and background clip to get a cool image behind the text effect.. What is a webkit background text clip? How do you make a webkit background text clip? This script and codes were developed by Luke Watts on 14 August 2022, Sunday.
Webkit Background Text Clip - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Webkit Background Text Clip</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"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>SPAWN</h1>
<h2>Webkit Browsers Only</h2> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Webkit Background Text Clip - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Cinzel+Decorative:900);
*,
*::before,
*::after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
html,
body { font-size: 100%; background: black; color: white;
}
h1 { font-family: "Cinzel Decorative", cursive; font-size: 15.625em; text-align: center; color: transparent; -webkit-background-clip: text; background-clip: text; margin-top: 0; margin-bottom: 0; background-image: url(http://www.wallpaperzzz.com/wallpapers/hd/hires/spawn-grin.jpg); background-repeat: no-repeat; background-size: 0%; transition: 1s all 1s linear;
}
h2 { font-family: "Cinzel Decorative", cursive; font-size: 1.5625em; text-align: center; margin-top: 0; margin-bottom: 1.25em;
}
Webkit Background Text Clip - Script Codes JS Codes
// Webkit browsers only
// So Chrome, Safari and Opera...
$(document).ready(function() { $('h1').css('backgroundSize', '100%');
});
Developer | Luke Watts |
Username | lukewatts |
Uploaded | August 14, 2022 |
Rating | 3 |
Size | 2,808 Kb |
Views | 30,360 |
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 |
Turnable LED Dial | 5,472 Kb |
Affinity4 SVG Logo Animation | 2,729 Kb |
Media Module Pattern | 2,823 Kb |
Product Item Additional Info On Hover | 6,792 Kb |
A Pen by Luke Watts | 1,723 Kb |
Custom Google Maps | 5,076 Kb |
Justified Fullsizable Gallery | 3,131 Kb |
Form Inputs | 3,504 Kb |
Accessible Responsive Nav | 4,188 Kb |
OFF CANVAS MENU | 3,206 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 |
Matrix | Stathisnikolaidis | 1,922 Kb |
We Simplify animation | Meodai | 48,169 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 Kb |
RRC wrapSwitch | Pshrmn | 2,922 Kb |
Cool Page Split Effect | Anthonyadamski | 6,128 Kb |
Shopping cart | Andiio | 6,581 Kb |
CSSOff 2013 Submission | Codewunder | 14,766 Kb |
Rotate Demo | Agelber | 3,061 Kb |
CSS3 Latte Art Logo | Esambino | 2,036 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 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!