问卷调查会持续到 September 12, 2024 为止。 查看问卷调查结果 »

css
@supports (display: table-cell) and (display: list-item) {
  //...
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
@property --property-name {
  syntax: "<color>";
  inherits: false;
  initial-value: #c0ffee;
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
a:has(> img) {
  border: 2px solid grey;
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
:where(header, main, footer) p:hover {
  color: red;
  cursor: pointer;
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
@layer layer-name {rules}
告诉我们更多:
告诉我们更多:
告诉我们更多:

原生 CSS 嵌套,不包括预处理器或后处理器。
css
.parent {
  color: blue;

  .child {
    color: red;
  }
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
.box {
  background-image: image-set(
    url("small-balloons.jpg") 1x,
    url("large-balloons.jpg") 2x);
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
.foo {
  background-image: image("myimage.webp#xywh=0,20,40,60");
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

css
@scope (.card) {
  :scope {
    padding: 1rem;
  }

  .title {
    font-size: 1.2rem;
  }
}
告诉我们更多:
告诉我们更多:
告诉我们更多:

Pre-filter a set of child elements before applying nth-child to it.

css
:nth-child(2 of .highlight)
  border: 2px red solid;
}
告诉我们更多:
告诉我们更多:
告诉我们更多: