.boxtags {
    list-style: none;
    padding: 5px;
    font-size: 13px;
    width: 500px;
}

.boxtags li {
    display: inline;
}

.boxtags li label {
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #696969;
    border-radius: 25px;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .3s;
}

.boxtags li label {
    padding: 6px 12px;
}

.boxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 8px;
    padding: 2px 6px 2px 2px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}


.boxtags li input[type="checkbox"]:checked+label::before {
    content: "\f00c";
    font-size: 8px;
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

.boxtags li input[type="checkbox"]:checked+label {
    border: 2px solid #1bdbf8;
    background-color: #12bbd4;
    color: #fff;
    transition: all .2s;
}

.boxtags li input[type="checkbox"] {
    display: absolute;
}

.boxtags li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.boxtags li input[type="checkbox"]:focus+label {
    border: 2px solid #e9a1ff;
}