lundi 1 février 2021

how can i transilate english to arabic language using checkbox toggle button

i am working in python-Django.I need to convert english to arabic language by using checkbox

<input type="checkbox" id="che" style="margin-top: 30px;padding-top: 15px;">


#che {
-webkit-appearance: none;
position: relative;
width: 80px;
height: 40px;
background-image: url(../images/us.png);
background-size: cover;
border-radius: 50px;
outline: none;
transition: background-image .90s;
box-shadow: 0px 2px 5px 1px gray;

}

#che:before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 40px;
width: 40px;
background-color: navy;
border-radius: 50px;
transition: all .9s;
background-color: #004d66;

}

#che:checked {
background-image: url(../images/kwd.png);

transition: background-image .90s;

}

#che:checked:before {
transform: translate(100%);
transition: all .9s;
background-color: #ECF0F3;

}

this is the image of my checkbox-toggle button




Aucun commentaire:

Enregistrer un commentaire