Copiar Copiar CSS
Sin nesting Nesting
.gap-decorations {
display : grid ;
grid-template-columns : repeat ( 3 , minmax ( 0 , 1fr ) ) ;
gap : 28px ;
column-rule : 3px solid #8b5cf6 ;
row-rule : 3px dashed #10b981 ;
rule-inset : 0px ;
rule-break : intersection ;
rule-visibility-items : between ;
rule-overlap : row-over-column ;
}
.gap-decorations > .item {
min-block-size : 5rem ;
display : grid ;
place-items : center ;
border-radius : 0 .5rem ;
background : color-mix ( in oklch , white 82% , #8b5cf6 ) ;
color : #172033 ;
}
.gap-decorations > .item :nth-child(4) {
grid-column : span 2 ;
} .gap-decorations {
display : grid ;
grid-template-columns : repeat ( 3 , minmax ( 0 , 1fr ) ) ;
gap : 28px ;
column-rule : 3px solid #8b5cf6 ;
row-rule : 3px dashed #10b981 ;
rule-inset : 0px ;
rule-break : intersection ;
rule-visibility-items : between ;
rule-overlap : row-over-column ;
> .item {
min-block-size : 5rem ;
display : grid ;
place-items : center ;
border-radius : 0 .5rem ;
background : color-mix ( in oklch , white 82% , #8b5cf6 ) ;
color : #172033 ;
}
> .item :nth-child(4) {
grid-column : span 2 ;
}
}