ph-css icon indicating copy to clipboard operation
ph-css copied to clipboard

Supports calculating expression results

Open SkyD666 opened this issue 1 month ago • 1 comments

For example, calculating the final result using values ​​with CSS variables.

margin-left: var(--text-margin) -> margin-left: 12

SkyD666 avatar Nov 28 '25 11:11 SkyD666

The execution part of CSS is not part of ph-css - it's really on providing the data structures to parse and create CSS from scratch. For calculations to be performed additional "browser like" data structures and knowledge would be necessary

phax avatar Nov 28 '25 11:11 phax