.custom-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.custom-icon.cross {
    width: 30px;
    height: 30px;
}

.custom-icon.plus {
    width: 12px;
    height: 12px;
}

.bar {
    width: 5px;
    height: 100%;
    border-radius: 5px;
    background-color: black;
    position: absolute;
}

.plus .bar {
    width: 1px;
    transition: transform 300ms ease;
}

.cross .bar--one {
    transform: rotate(45deg);
}

.cross .bar--two {
    transform: rotate(-45deg);
}

.plus .bar--two {
    transform: rotate(90deg);
}

.plus.active .bar--one {
    transform: rotate(45deg);
}
.plus.active .bar--two {
    transform: rotate(135deg);
}