<div id="captainMarvel">
<ul id="captain">
<li class="c"></li>
<li class="a"></li>
<li class="p"></li>
<li class="t"></li>
<li class="a"></li>
<li class="i"></li>
<li class="n"></li>
</ul>
<ul id="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>
</div>
body {
background: #000;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
padding: 0;
}
#captainMarvel {
transform: scale(.5);
padding: 2em;
}
#captain,
#marvel {
display: flex;
justify-content: center;
flex-wrap: nowrap;
list-style: none;
margin: 0 auto;
padding: 0;
}
#captain {
margin-bottom: 15px;
}
#captain li,
#marvel li {
position: relative;
display: block;
padding: 0;
}
#captain li {
height: 72px;
}
#marvel li {
height: 133px;
}
#captain li::before,
#captain li::after,
#marvel li::before,
#marvel li::after {
position: absolute;
display: block;
content: "";
}
#captain .c {
width: 60px;
overflow: hidden;
}
#captain .c::before {
top: 0;
left: 0;
width: 56px;
height: 50px;
border: solid #c00;
border-width: 11px 14px;
border-radius: 50%;
}
#captain .a {
width: 76px;
background:
linear-gradient(-61deg, transparent 34%, #c00 34%, #c00 50%, transparent 50%) left bottom / 50% 100% no-repeat,
linear-gradient(61deg, transparent 34%, #c00 34%, #c00 50%, transparent 50%) right bottom / 50% 100% no-repeat,
linear-gradient(0, transparent 18%, #c00 18%, #c00 34%, transparent 34%) center bottom / 50% 100% no-repeat;
margin-left: 5px;
}
#captain .p {
width: 55px;
margin-left: 5px;
}
#captain .p::before {
top: 0;
right: 0;
width: 22px;
height: 30px;
border: solid #c00;
border-width: 11px 11px 11px 0;
border-radius: 0 100% 100% 0 / 0 70% 70% 0;
}
#captain .p::after {
top: 0;
left: 0;
width: 10px;
height: 61px;
border: solid #c00;
border-width: 11px 0 0 12px;
}
#captain .t {
width: 68px;
margin-left: 4px;
}
#captain .t::before {
top: 0;
left: 5%;
width: 90%;
height: 11px;
background: #c00;
transform: skewX(-35deg);
}
#captain .t::after {
top: 0;
left: 27px;
width: 12px;
height: 100%;
background: #c00;
}
#captain li:nth-child(5) {
margin-left: -19px;
}
#captain .i {
width: 12px;
background: #c00;
margin-left: 8px;
}
#captain .n {
width: 62px;
background:
linear-gradient(40deg, transparent 43%, #c00 43%, #c00 58%, transparent 58%),
linear-gradient(90deg, #c00 18%, transparent 18%) left bottom / 100% 80% no-repeat,
linear-gradient(90deg, transparent 82%, #c00 82%) right top / 100% 80% no-repeat;
margin-left: 16px;
}
#marvel .m {
width: 142px;
background:
linear-gradient(90deg, #c00 18%, transparent 18%, transparent 82%, #c00 82%) left bottom / 100% 80% no-repeat,
linear-gradient(45deg, transparent 48%, #c00 48%, #c00 65%, transparent 65%) left top / 50% 100% no-repeat,
linear-gradient(-45deg, transparent 48%, #c00 48%, #c00 65%, transparent 65%) right top / 50% 100% no-repeat;
}
#marvel .a {
width: 146px;
background:
linear-gradient(-61deg, transparent 30%, #c00 30%, #c00 50%, transparent 50%) left bottom / 50% 100% no-repeat,
linear-gradient(61deg, transparent 30%, #c00 30%, #c00 50%, transparent 50%) right bottom / 50% 100% no-repeat,
linear-gradient(0, transparent 16%, #c00 16%, #c00 36%, transparent 36%) center bottom / 50% 100% no-repeat;
margin-left: -5px;
}
#marvel .r {
width: 127px;
background:
linear-gradient(40deg, transparent 30%, #c00 30%, #c00 60%, transparent 60%) right bottom / 69% 35% no-repeat;
margin-left: -5px;
}
#marvel .r::before {
top: 0;
left: 39px;
width: 36px;
height: 46px;
border: solid #c00;
border-width: 25px 27px 25px 0;
border-radius: 0 100% 100% 0 / 0 70% 70% 0;
}
#marvel .r::after {
top: 0;
left: 0;
width: 12px;
height: 108px;
border: solid #c00;
border-width: 25px 0 0 27px;
}
#marvel .v {
width: 150px;
background:
linear-gradient(61deg, transparent 50%, #c00 50%, #c00 70%, transparent 70%) left bottom / 50% 100% no-repeat,
linear-gradient(-61deg, transparent 50%, #c00 50%, #c00 70%, transparent 70%) right bottom / 50% 100% no-repeat;
margin-left: -30px;
}
#marvel .e {
width: 100px;
background:
linear-gradient(180deg, #c00 18%, transparent 18%, transparent 40%, #c00 40%, #c00 58%, transparent 58%, transparent 82%, #c00 82%),
linear-gradient(90deg, #c00 27%, transparent 27%);
margin-left: -3px;
}
#marvel .l {
width: 93px;
background:
linear-gradient(90deg, #c00 29%, transparent 29%),
linear-gradient(120deg, #c00 86%, transparent 86%) right bottom / 100% 18% no-repeat;
margin-left: 15px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.