Setting width with CSS attr()

This is an experimental, or at least draft, feature of CSS, and currently, according to Mozilla Developer Network’s documentation, is only compatible with the CSS content property (in which it can return a string to be placed inside a pseudo-element), but cannot (yet) be used to generate values for other properties.

References:

  • attr() (at MDN).
  • attr() (at W3C).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)