1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-29 08:40:16 +02:00

Updated and documented collapse

This commit is contained in:
Angelos Chalaris
2017-12-28 22:58:17 +02:00
parent 6af3ce713f
commit e0b880f419
9 changed files with 138 additions and 16 deletions

View File

@@ -1543,11 +1543,15 @@ mark.inline-block {
border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0;
}
.collapse > label:last-of-type {
.collapse > label:last-of-type:not(:first-of-type) {
border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius);
}
.collapse > :checked:last-of-type + label {
.collapse > label:last-of-type:first-of-type {
border-radius: var(--universal-border-radius);
}
.collapse > :checked:last-of-type:not(:first-of-type) + label {
border-radius: 0;
}

File diff suppressed because one or more lines are too long