3 ms·
What bothers me is that I can't make rules with the same expressive power as a regex. Also css lacks properties for controlling wrapping limits and non-linear
by jiggunjer 9y ago
What bothers me is that I can't make rules with the same expressive power as a regex.
Also css lacks properties for controlling wrapping limits and non-linear image scaling. And for some reason I always have to optimize on either width or height, I can't control both perfectly.
- TheAceOfHearts 9y agoI don't understand the first point, could you clarify? Do you mean you wish to define your own CSS properties? You may find it exciting to learn that there's ongoing work to enable this functionality and more through Houdini [0]. You can check out a few examples at this houdini-samples [1] repo. I'm unclear on what you mean by wrapping limits and non-linear image scaling. Could you provide an example of what you'd like to achieve? As for having to optimize for width or height. Have you looked into display: grid? I believe it may help enable the kind of layout you're interesting in achieving. [0] https://drafts.css-houdini.org https://drafts.css-houdini.org [1] https://github.com/GoogleChromeLabs/houdini-samples https://github.com/GoogleChromeLabs/houdini-samples