Skewed
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 - 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;
}
Developer | Chris Sargent |
Username | ChrisSargent |
Uploaded | November 29, 2022 |
Rating | 3 |
Size | 2,370 Kb |
Views | 12,144 |
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 |
Engine Anim Loader | 2,268 Kb |
A Pen by Chris Sargent | 1,483 Kb |
Flexbox Linebreaks V2 | 1,914 Kb |
Material Card Expand Animation | 6,717 Kb |
IOS Pure CSS Slide Toggle Checkbox | 2,374 Kb |
Cupboard Test | 1,822 Kb |
Quick Angular | 2,835 Kb |
Flexbox Linebreaks V1 | 1,900 Kb |
Speech Bubble, Bg Image | 2,716 Kb |
Angular Animation Done Call Back | 2,520 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 |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
A Pen by James Podles | Jpod | 2,656 Kb |
Sample Profile Screen | OurDailyBread | 5,375 Kb |
Reading Grid | Tappily | 4,306 Kb |
Mandelbrot Fractal | _Billy_Brown | 2,706 Kb |
Drifting Clouds | Benedikte | 2,247 Kb |
Simple Buttons | Haydenmills | 1,750 Kb |
Video mute | Leon9208 | 2,131 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
Google Chrome Icon using Pure CSS in one DIV | Grssam | 3,627 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!