Skewed

Developer
Size
2,370 Kb
Views
12,144

How do I make an skewed?

What is a skewed? How do you make a skewed? This script and codes were developed by Chris Sargent on 29 November 2022, Tuesday.

Skewed Previews

Skewed - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Skewed</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="body"> <section> <div class="content"> <h1>Main Content</h1> </div> <div class="skew"> <div class="unskew"></div> </div> </section> <section> <div class="content"> <h1>Main Content</h1> </div> <div class="skew"> <div class="unskew"></div> </div>
</section>
</div>
</body>
</html>

Skewed - Script Codes CSS Codes

.body { height: 200vh; background-color: aliceblue; padding-top: 10vh;
}
section { opacity: 0.5; min-height: 50vh; position: relative; outline: 1px solid red; outline-offset: -1px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; z-index: 0;
}
.skew { position: absolute; width: 100%; height: 100%; top: 0; left: 0; -webkit-transform: skewY(-2.862deg); transform: skewY(-2.862deg); overflow: hidden; z-index: -1;
}
.unskew { -webkit-transform: skewY(2.862deg); transform: skewY(2.862deg); position: absolute; top: -2.5vw; left: 0; width: 100%; height: calc(100% + 10vw); background-image: url("http://fillmurray.com/1440/900"); background-size: cover; box-sizing: border-box; color: white;
}
.content { position: relative; z-index: 10; color: white; font-size: 2em;
}
Skewed - Script Codes
Skewed - Script Codes
Home Page Home
Developer Chris Sargent
Username ChrisSargent
Uploaded November 29, 2022
Rating 3
Size 2,370 Kb
Views 12,144
Do you need developer help for Skewed?

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!

Chris Sargent (ChrisSargent) Script Codes
Create amazing SEO content 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!