legacy-paperclip icon indicating copy to clipboard operation
legacy-paperclip copied to clipboard

PC vendor CSS prefix

Open crcn opened this issue 3 years ago • 1 comments

This could provide additional functionality that isn't supported by HTML and CSS out of the box. For example:

Screen Shot 2022-10-02 at 4 06 21 PM

Can be expressed with:

div {
  style {

    /* left right top bottom */
    --pc-constraints: 10px 10px 10px 10px
  }
}

Could be compiled to:

._class {
  left: 10px;
  top: 10px;
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
}

Considerations:

  • Ensure taht

crcn avatar Oct 02 '22 21:10 crcn