<span class="icon-cross">
<span class="icon-cross__inner"></span>
</span>
<span class="icon-cross">
<span class="icon-cross__inner"></span>
</span>
/* No context defined. */
.icon-cross:not(.ico) { // legacy css fix
position: relative;
display: block;
flex: 1 1 auto;
cursor: pointer;
width: 100%;
height: 0;
padding-top: 100%;
overflow: hidden;
}
.icon-cross:not(.ico):before { // legacy css fix
content: initial;
}
.icon-cross__inner {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
}
.icon-cross__inner:before,
.icon-cross__inner:after {
position: absolute;
top: 50%;
left: 0;
display: block;
width: 140%;
height: 2px;
border-radius: 2px;
margin-top: -1px;
margin-left: -20%;
background-color: currentcolor;
content: '';
}
.icon-cross__inner:before {
transform: rotate(-45deg);
}
.icon-cross__inner:after {
transform: rotate(45deg);
}
No notes defined.