Hard-Stop Gradients
How do I make an hard-stop gradients?
What is a hard-stop gradients? How do you make a hard-stop gradients? This script and codes were developed by Mackdoyle on 26 December 2022, Monday.
Hard-Stop Gradients - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hard-Stop Gradients</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.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! */ /* * Hard-stop gradients * Create angles for css shapes with linear-gradients using a single color for 0-50% and another for 50-100% */
.hard-grad { position: absolute; width: 100%; height: 100%; background: linear-gradient(-45deg, rgba(255, 136, 152, 0.5) 0%, rgba(255, 136, 152, 0.5) 50%, rgba(255, 199, 153, 0.5) 50%, rgba(255, 199, 153, 0.5) 100%);
}
.hard-grad-2 { position: absolute; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(100, 199, 204, 0.5) 0%, rgba(100, 199, 204, 0.5) 50%, rgba(18, 136, 152, 0.5) 50%, rgba(18, 136, 152, 0.5) 100%);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="hard-grad"></div>
<div class="hard-grad-2"></div>
</body>
</html>
Hard-Stop Gradients - Script Codes CSS Codes
/* * Hard-stop gradients * Create angles for css shapes with linear-gradients using a single color for 0-50% and another for 50-100% */
.hard-grad { position: absolute; width: 100%; height: 100%; background: linear-gradient(-45deg, rgba(255, 136, 152, 0.5) 0%, rgba(255, 136, 152, 0.5) 50%, rgba(255, 199, 153, 0.5) 50%, rgba(255, 199, 153, 0.5) 100%);
}
.hard-grad-2 { position: absolute; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(100, 199, 204, 0.5) 0%, rgba(100, 199, 204, 0.5) 50%, rgba(18, 136, 152, 0.5) 50%, rgba(18, 136, 152, 0.5) 100%);
}
Developer | Mackdoyle |
Username | mackdoyle |
Uploaded | December 26, 2022 |
Rating | 4 |
Size | 2,288 Kb |
Views | 8,096 |
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 |
Text Perspective | 4,920 Kb |
Social Awesome | 2,136 Kb |
A Pen by mackdoyle | 15,493 Kb |
Fluid-like Responsive Display Ads | 6,902 Kb |
Web Font Readability Test | 4,985 Kb |
CSS Color-Shift-In | 2,697 Kb |
Analogous Colors | 3,998 Kb |
Fluid iFrame Display Ad | 2,819 Kb |
Reduce Stroke of Font-Awesome Icons | 2,923 Kb |
Smooth Color Fade | 2,463 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 |
Pink expansion tunnel | Vez | 1,738 Kb |
A Pen by Michael Parenteau | Michaelparenteau | 2,133 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Plotting Points with D3.js | Laurakelly | 31,996 Kb |
A Pen by Huan Nghiem | Nightshade | 10,646 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
Foundation 5 Menu - Accessibility | Xporter | 1,999 Kb |
Sticky notes with CSS3 | HaiNguyen007 | 2,146 Kb |
Yuliya v krylova | Rafszul | 37,351 Kb |
Pericles mi loro... | Judag | 4,125 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!