Webkit Background Text Clip

Developer
Size
2,808 Kb
Views
30,360

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 Previews

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%');
});
Webkit Background Text Clip - Script Codes
Webkit Background Text Clip - Script Codes
Home Page Home
Developer Luke Watts
Username lukewatts
Uploaded August 14, 2022
Rating 3
Size 2,808 Kb
Views 30,360
Do you need developer help for Webkit Background Text Clip?

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!

Luke Watts (lukewatts) Script Codes
Create amazing sales emails 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!