CSS by T. Afif :verified: on Nostr: nprofile1q…ktnuu not only to set the ratio but to also get it as a variable and use ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqq5qwrd9cfg40lg8jtzcttrkdyjsgan8q7ypctkw29pta5k00fszs4ktnuu (nprofile…tnuu)
not only to set the ratio but to also get it as a variable and use it within some calculation as well.
--r: attr(width) / attr(height);
The image element will benefit from this feature a lot (as well as some of the native elements such as progress, meter, etc that have native attribute as well)
not only to set the ratio but to also get it as a variable and use it within some calculation as well.
--r: attr(width) / attr(height);
The image element will benefit from this feature a lot (as well as some of the native elements such as progress, meter, etc that have native attribute as well)