CSS Gradient Text in Firefox
How do I make an css gradient text in firefox?
Firefox (& Webkit)-compatible gradient text using CSS blend modes. Looking for ways to simplify.Edit: As of November 2015, this is broken in the latest versions of Chrome. Was working before and will be fixed in some future version.. What is a css gradient text in firefox? How do you make a css gradient text in firefox? This script and codes were developed by Giana on 12 June 2022, Sunday.
CSS Gradient Text in Firefox - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Gradient Text in Firefox</title> <link href='http://fonts.googleapis.com/css?family=Lato:700' rel='stylesheet' type='text/css'> <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> <section class="light"> <h1 class="gradient1">CSS Gradient Text</h1> <p class="gradient2">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptas, aut.</p>
</section>
<section class="dark"> <h1 class="gradient1">CSS Gradient Text</h1> <p class="gradient2">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptas, aut.</p>
</section>
</body>
</html>
CSS Gradient Text in Firefox - Script Codes CSS Codes
section.light { background: #eee;
}
@supports (mix-blend-mode: lighten) { section.light .gradient1 { display: inline-block; position: relative; color: #000; background: #fff; mix-blend-mode: multiply; } section.light .gradient1::before { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: -webkit-linear-gradient(left,#23966c, #faaa54, #e23b4a, #db0768, #360670); background: linear-gradient(to right,#23966c, #faaa54, #e23b4a, #db0768, #360670); pointer-events: none; } section.light .gradient1::before { mix-blend-mode: screen; }
}
@supports (mix-blend-mode: lighten) { section.light .gradient2 { display: inline-block; position: relative; color: #000; background: #fff; mix-blend-mode: multiply; } section.light .gradient2::before { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: -webkit-radial-gradient(circle, #23966c, #faaa54, #e23b4a, #db0768, #360670); background: radial-gradient(circle, #23966c, #faaa54, #e23b4a, #db0768, #360670); pointer-events: none; } section.light .gradient2::before { mix-blend-mode: screen; }
}
section.dark { background: #222;
}
section.dark .gradient1 { color: #fff;
}
@supports (mix-blend-mode: lighten) { section.dark .gradient1 { display: inline-block; position: relative; color: #fff; background: #000; mix-blend-mode: lighten; } section.dark .gradient1::before { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: -webkit-linear-gradient(left,#23966c, #faaa54, #e23b4a, #db0768, #360670); background: linear-gradient(to right,#23966c, #faaa54, #e23b4a, #db0768, #360670); pointer-events: none; } section.dark .gradient1::before { mix-blend-mode: multiply; }
}
section.dark .gradient2 { color: #fff;
}
@supports (mix-blend-mode: lighten) { section.dark .gradient2 { display: inline-block; position: relative; color: #fff; background: #000; mix-blend-mode: lighten; } section.dark .gradient2::before { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: -webkit-radial-gradient(circle, #23966c, #faaa54, #e23b4a, #db0768, #360670); background: radial-gradient(circle, #23966c, #faaa54, #e23b4a, #db0768, #360670); pointer-events: none; } section.dark .gradient2::before { mix-blend-mode: multiply; }
}
/* Page styling, ignore */
body { margin: 0; font-family: "Lato", sans-serif; text-align: center;
}
section { min-height: 50vh; padding: 2em;
}
.gradient1 { font-size: 96px; margin: 0.5em; opacity: 0.9;
}
.gradient2 { text-align: center; margin: 1em auto; width: 10em;
}
Developer | Giana |
Username | giana |
Uploaded | June 12, 2022 |
Rating | 4.5 |
Size | 3,158 Kb |
Views | 68,816 |
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 |
Random Color Palette Generator | 5,872 Kb |
CSS box shadow particles | 66,118 Kb |
JavaScript calculator | 5,853 Kb |
CSS box shadow particles v3 | 67,433 Kb |
CSS arrow buttons | 3,371 Kb |
Fading text with CSS blend modes | 3,305 Kb |
Sass button border hover effect mixin | 2,875 Kb |
CSS Border transitions | 4,499 Kb |
Spinning | 2,449 Kb |
HTML 5 Video Player | 10,489 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 |
CSS Link Zoom On Click | Bryce | 1,960 Kb |
Spiralator 9000 | AdmiralPotato | 4,671 Kb |
Canvas stripes | Adrianparr | 1,948 Kb |
Nested flexbox layout for library catalog | Boycetrus | 3,271 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Pagepilling.js | Blossk | 6,554 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
Simple search using AngularJS | Haykou | 1,802 Kb |
React Markdown Previewer | C0d0er | 3,190 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!