THE DECLARATIVE VERSION OF #cssHoudini CUSTOM PROPERTY REGISTRATION GOT MERGED! @property LIVES!

drafts.css-houdini.org/css-properties-values-api/#at-property-rule

(I’m excited, can you tell? This is gonna be awesome for style guides)

  • 17
  • 38
  1. [@property](https://twitter.com/property/) The example from houdini.glitch.me/custom-properties can then be rewritten in only CSS as: @property {   name: ‘–registered’,   syntax: ‘<color>’,   inherits: true,   initial-value: purple, }

    • 0
    • 7