Page MenuHomeSealhub

show-first-row.css
No OneTemporary

show-first-row.css

.show-first-row {
container-type: inline-size;
text-align: center;
width: 100%;
.show-first-row__items {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(var(--min-column-width), 1fr));
justify-content: center;
gap: var(--column-gap);
transition: row-gap 200ms, overflow 200ms;
overflow: hidden;
.show-first-row__checkbox:not(:checked) + & {
row-gap: 0;
}
& > * {
align-self: center;
justify-self: center;
}
}
.show-first-row__default-button {
background: blue;
color: white;
height: 40px;
display: inline-block;
padding: 0 20px;
line-height: 40px;
cursor: pointer;
margin: 0 auto;
margin-top: 20px;
}
.show-first-row__show-less-button {
display: none;
}
&:has(input:checked) {
.show-first-row__show-less-button {
display: block;
}
.show-first-row__show-more-button {
display: none;
}
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 8, 06:23 (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1032768
Default Alt Text
show-first-row.css (883 B)

Event Timeline