Elektrine lite

← Feed

@nachtfunke@indieweb.social

Post #2392963

2026-03-27 12:02 UTC

@bramus@front-end.social having read your explanation, I am even more confused now. I am aware that without @ property the var passed is not a length, but I didn't know that 'length' forces value computation. From a code point of view, choosing an em unit I am describing "this should be in relation to the current font-size". em is a length. Why should that mean that the characteristics of the unit are getting nullified? even if it is computed, at the point of computation, it should still ... @leaverou@front-end.social having

Replies (1)

  • @nachtfunke@indieweb.social 2026-03-27 12:03

    @bramus@front-end.social ... consider the font-size. Should it not? What happens when I pass container units? Will they also ignore their relation to a container? @leaverou@front-end.social

    Open ##2392964