todo
48 строк · 808.0 Байт
1li {2position: relative;3font-size: 24px;4border-bottom: 1px solid #ededed;5display: flex;6align-items: center;7}
8
9input[type="checkbox"] {10text-align: center;11width: 40px;12/* auto, since non-WebKit browsers doesn't support input styling */13height: auto;14position: absolute;15top: 0;16bottom: 0;17margin: auto 0;18border: none; /* Mobile Safari */19-webkit-appearance: none;20appearance: none;21}
22
23input[type="checkbox"]:after {24content: '\u2713';25font-size: 20px;26color: #5dc2af;27}
28
29input[type="checkbox"]:checked:after {30color: #5dc2af;31}
32
33button {34background: none;35border: none;36padding: 0;37cursor: pointer;38font: inherit;39color: inherit;40}
41
42button:hover {43color: #af5b5e;44}
45
46span {47flex-grow: 1;48}
49