mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
|
||||
|
||||
/* flex-delimiter text */
|
||||
|
||||
:root {
|
||||
--flex-delimiter: ', ';
|
||||
--flex-delimiter-index: 0;
|
||||
}
|
||||
|
||||
.flex-delimiter > *:not(:first-child):not(:empty)::before {
|
||||
content: var(--flex-delimiter);
|
||||
--flex-delimiter-index:1;
|
||||
}
|
||||
|
||||
.flex-delimiter > *:empty + *:not(:empty)::before
|
||||
{
|
||||
content: '';
|
||||
--flex-delimiter-index:0;
|
||||
}
|
||||
|
||||
.flex-delimiter > *:not(:empty) ~ *:empty + *:not(:empty)::before
|
||||
{
|
||||
content: var(--flex-delimiter);
|
||||
--flex-delimiter-index:1;
|
||||
}
|
||||
|
||||
.flex-delimiter > *:empty {
|
||||
display:none;
|
||||
}
|
||||
Reference in New Issue
Block a user