aspect-ratio
content-visibility
gap
@container
object-view-box
Welcome to the survey! This first part is all about figuring out which features of CSS you know about.
By the way, if you want to tell us more about any of your choices, just click that little "comment" icon!
.wrapper { display: grid; grid-template-columns: 1fr 1fr; } .item { grid-row: 1 / 4; display: grid; grid-template-rows: subgrid; }
.vertical-text { writing-mode: vertical-lr; }
margin-block-start, padding-inline-end, border-inline-start…
margin-block-start
padding-inline-end
border-inline-start
section { border-block: 8px solid blue; border-inline: 8px solid green; }
.square { aspect-ratio: 1 / 1; }
.card { content-visibility: auto; contain-intrinsic-size: 350px; }
section { display: flex gap: 1em 2em; }
@container (min-width: 700px) { .card { display: grid; grid-template-columns: 2fr 1fr; } }
img { aspect-ratio: 1; width: 300px; object-view-box: inset(25% 20% 15% 0%); }
lvh / lvw / lvmin / lvmax, sv*, dv*, etc.
lvh
lvw
lvmin
lvmax
sv*
dv*
body { height: 100dvh; }
@media (400px < width < 1000px) { /* ... */ }
.anchor { anchor-name: --my-anchor; } .target { position: absolute; position-anchor: --my-anchor; position-area: start end; }