mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 12:13:19 +00:00
feat(style): style task lists with emoji check boxes
This commit is contained in:
1 parent
8e2b1cc26b
commit
6110bcf371
1 file changed
+20
@@ -9,3 +9,23 @@
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// Emoji task lists
|
||||
|
||||
.task-list input[type='checkbox']:checked {
|
||||
appearance: initial;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
border: none;
|
||||
background: initial;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.task-list input[type='checkbox']:not(:checked) {
|
||||
width: .9em;
|
||||
height: .9em;
|
||||
}
|
||||
|
||||
.task-list input[type='checkbox']:checked::after {
|
||||
content:"✅";
|
||||
}
|
||||
Reference in new issue
Block a user