瞅瞅五个最新的CSS特性

看到《齐舞周刊》的一篇博文,作一整理:

五个新特性:

  • CSS Display Module Leval 3: display: contents
  • CSS Conditional Rules Module Leval 3: @support(…){…}
  • CSS Overscroll Behavior Module Leval 1: overscroll-behavior: contain
  • CSS Selectors Module Leval 4: :focus-within, :placeholder-shown
  • CSS Containment Module Leval 1: contain: paint