Шаблон:CheckboxCreator
Версия от 09:56, 9 июля 2024; Pok (обсуждение | вклад)
.checkbox-wrapper{padding:20px;border:2px solid #007BFF;border-radius:10px;background-color:#fff;box-shadow:0 4px 8px rgba(0,0,0,0.1)} .checkbox-container{display:flex;align-items:center;cursor:pointer} .checkbox-container label{margin-right:10px} .checkbox-container input[type="checkbox"]{appearance:none;width:20px;height:20px;border:2px solid #007BFF;border-radius:4px;position:relative;display:flex;justify-content:center;align-items:center} .checkbox-container input[type="checkbox"]::after{content:;width:10px;height:10px;background-color:#007BFF;border-radius:2px;opacity:0;transition:opacity 0.2s ease}
.checkbox-container input[type="checkbox"]:checked::after{opacity:1}