<ul class="marvel">
<li class="m"></li>
<li class="a"></li>
<li class="r"></li>
<li class="v"></li>
<li class="e"></li>
<li class="l"></li>
</ul>
body {
display: flex;
justify-content: center;
align-items: center;
background: #000;
height: 100vh;
}
/* MARVEL LOGO */
.marvel {
background: #e01e22;
overflow: hidden;
padding: .5em;
}
.marvel li {
position: relative;
float: left;
display: block;
margin: 0;
padding: 0;
}
.marvel li::before,
.marvel li::after {
position: absolute;
display: block;
content: "";
}
.marvel .m {
width: 26px;
height: 100px;
border-right: 18px solid #fff;
border-left: 18px solid #fff;
overflow: hidden;
}
.marvel .m::before {
top: 0;
left: -9px;
border: 22px solid transparent;
border-top: 130px solid #fff;
border-bottom: none;
}
.marvel .m::after {
top: 0;
left: 5px;
border: 8px solid transparent;
border-top: 51px solid #e01e22;
border-bottom: none;
}
.marvel .a {
width: 24px;
border: 15px solid transparent;
border-top: none;
border-bottom: 100px solid #fff;
margin-left: -1px;
}
.marvel .a::before {
bottom: -100px;
left: 3px;
border: 9px solid transparent;
border-top: none;
border-bottom: 74px solid #e01e22;
}
.marvel .a::after {
left: 4px;
bottom: -85px;
width: 16px;
height: 16px;
background: #fff;
}
.marvel .r {
width: 31px;
height: 100px;
border-left: 18px solid #fff;
margin-left: -2px;
overflow: hidden;
}
.marvel .r::before {
top: 0;
right: 0;
width: 24px;
height: 32px;
border: 18px solid #fff;
border-radius: 50%;
}
.marvel .r::after {
right: 0;
bottom: 0;
width: 18px;
height: 40px;
background: #fff;
transform: skew(15deg);
transform-origin: right bottom;
}
.marvel .v {
width: 24px;
border: 15px solid transparent;
border-bottom: none;
border-top: 100px solid #fff;
margin-left: -6px;
}
.marvel .v::before {
top: -100px;
left: 4px;
border: 8px solid transparent;
border-bottom: none;
border-top: 60px solid #e01e22;
}
.marvel .e {
width: 16px;
height: 64px;
border: 18px solid #fff;
border-right: none;
margin-left: -1px;
}
.marvel .e::before {
top: 23px;
right: 0;
width: 16px;
height: 18px;
background: #fff;
}
.marvel .l {
width: 15px;
height: 82px;
border-bottom: 18px solid #fff;
border-left: 18px solid #fff;
margin-left: 3px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.