<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nike Logo</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="nike">
</div>
<div class="footer"><p>Created by <a href="https://www.rembertdesigns.co/" target="_blank">Richard Rembert</a></p>
</div>
</body>
</html>
.nike{
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
width: 470px;
height: 200px;
z-index: 3;
}
.nike::before{
content: "";
position: absolute;
top: -250px;
left: 190px;
width: 150px;
height: 550px;
background: #000;
border-top-left-radius: 60px 110px;
border-top-right-radius: 130px 220px;
transform: rotate(-113deg);
z-index: 1;
}
.nike::after{
content: "";
position: absolute;
top: -235px;
left: 220px;
width: 120px;
height: 500px;
background: #000;
border-top-left-radius: 60px 110px;
border-top-right-radius: 130px 220px;
transform: rotate(-104deg);
background: #fff;
z-index: 2;
}
.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
background-color: #000;
text-align: center;
}
.footer p {
text-decoration: none;
color: #fff;
}
.footer a {
text-decoration: none;
color: #3a7cec;
}
.footer a:hover {
text-decoration: underline;
color: #2ba14b;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.