Responsive image based on text size

On https://dennissnellenberg.com/ portfolio, the text in the footer section is responsive. However, the image right next to it somehow matches the height of the responsive text. How to replicate that?
No description
No description
No description
1 Reply
Chris Bolson
Chris Bolson4w ago
The height and width of the image are defined using "em" units so they are relative to the parent container font size.
height: .85em;
width: .85em;
height: .85em;
width: .85em;
Want results from more Discord servers?
Add your server