Web Code
Login
Sign Up
HTML
CSS
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; } body { display: flex; justify-content: center; align-items: center; height: 100vh; width: 100%; background: #07161d !important; } .custom-checkbox .item_color { display: inline-block; position: relative; } .custom-checkbox input[type="checkbox"] { position: absolute; left: 0; width: 50px; height: 50px; opacity: 0; cursor: pointer; } .custom-checkbox input[type="checkbox"] + label { color: #333; font-family: Arial, sans-serif; font-size: 14px; width: 50px; height: 50px; margin: 0 5px; } .custom-checkbox input[type="checkbox"]:checked + label { opacity: 1; border: 6px double #ffffff; }
JS
Output