Reverse clip path with blend modes
How do I make an reverse clip path with blend modes?
A demo of reverse path inspired by Dash Berlin's "We Are" album art with some gifs and blend modes for style.. What is a reverse clip path with blend modes? How do you make a reverse clip path with blend modes? This script and codes were developed by Zach Saucier on 20 August 2022, Saturday.
Reverse clip path with blend modes - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Reverse clip path with blend modes</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- Define our SVG clip path -->
<svg width='0' height='0'> <defs> <clipPath id="cp" clipPathUnits="objectBoundingBox"> <path d="M0.500, 0.945 L0.994, 0.090 L0.006, 0.090 L0.500, 0.945 L0.500, 0.650 L0.262, 0.238 L0.738, 0.237 L0.500, 0.650z"></path> </clipPath> </defs>
</svg>
<!-- The actual elements we're using -->
<div class="triangle first"></div>
<div class="triangle second"></div> <script src="js/index.js"></script>
</body>
</html>
Reverse clip path with blend modes - Script Codes CSS Codes
html { min-height: 100%; background: #B8BEB4; background: -webkit-radial-gradient(#b8beb4, #71685f); background: radial-gradient(#b8beb4, #71685f); background-size: cover;
}
.triangle { -webkit-clip-path: url(#cp); clip-path: url(#cp); width: 50vw; height: 50vw; max-height: 75vh; max-width: 75vh; background-size: cover; background-blend-mode: screen; position: absolute; top: 50%; left: 50%;
}
.first { background-color: #C5075C; background-image: url("https://media.giphy.com/media/pE6GG0V2JCKUo/giphy.gif"); -webkit-transform: translateX(-65%) translateY(-50%); transform: translateX(-65%) translateY(-50%);
}
.second { background-color: #03B897; background-image: url("https://media1.giphy.com/media/fLg3MEWdgH5Ti/200.gif"); -webkit-transform: translateX(-35%) translateY(-50%); transform: translateX(-35%) translateY(-50%); opacity: 0.8;
}
Reverse clip path with blend modes - Script Codes JS Codes
// For more check out zachsaucier.com
Developer | Zach Saucier |
Username | Zeaklous |
Uploaded | August 20, 2022 |
Rating | 3 |
Size | 2,725 Kb |
Views | 56,672 |
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 |
Prism music visualizer | 6,900 Kb |
Business card | 4,454 Kb |
CSS Callback Functions Using Iteration | 2,720 Kb |
Circle Snake | 1,965 Kb |
Single Element gif Recreation | 4,044 Kb |
Pausing Transitions | 2,098 Kb |
Circular Questionnaire | 5,141 Kb |
CSS-Only Full Page Slider | 4,161 Kb |
Changing a CSS Animation at its Current Values | 3,781 Kb |
Swirling dots | 6,415 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 |
Slides-07-1 POSITION | Exhtml | 1,909 Kb |
CSS Social Media Icon | TychoBlender | 3,871 Kb |
Snow collision | Wojtek1150 | 3,542 Kb |
Shopping List | Markmurray | 6,015 Kb |
Login with flip 3d animation | Mariusbalaj | 3,014 Kb |
Knockout Lists | Marinru | 2,531 Kb |
Simple search using AngularJS | Haykou | 1,802 Kb |
Calculator | Rzencoder | 4,572 Kb |
Experiments with Vertical Centering | KatieK2 | 3,924 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!