How can I vertically center an element between the highest and the lowest characters of another element (ideally only CSS but ok for JS)?
I mean relatively to the characters that are present (the actual text content), not to the line height (which is not responsive to the characters).
The goal is to align an element with the "perceived middle" of a text.