Hello guys... in the picture, I will replace the two background color with two pictures but I will have the white space, how can I make so that the white space doesn't appear but I still have the same skewed effect
here is my code:
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
min-height: 100svh;
background-color: white;
overflow: hidden;
}
.content {
display: flex;
}
.content .zombies {
width: 50vw;
height: 100vh;
background-color: red;
transform:skew(-20deg);
}
.content .mommies {
width: 50vw;
height: 100vh;
background-color: blue;
transform:skew(-20deg);
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="SkewedWelcome.css" />
<title>Skewed Gallery</title>
</head>
<body>
<div class="content">
<div class="zombies"></div>
<div class="mommies"></div>
</div>
</body>
</html>