Checkbox item visualizes error

This commit is contained in:
Magnus Åhall 2024-01-10 23:28:00 +01:00
parent f98a6ab863
commit dc2b6dac8b
4 changed files with 21 additions and 2 deletions

View file

@ -443,6 +443,13 @@ header {
box-shadow: inset 1em 1em #54b356;
}
input[type="checkbox"].error {
border: 0.15em solid #d13636;
}
input[type="checkbox"].error::before {
box-shadow: inset 1em 1em #d13636;
}
input[type="checkbox"]::before {
content: "";