Is there a way to create an element with a fixed height and width of 40px, while having another element next to it that takes up the remaining space of the parent element's width? I want the second element to shrink when resizing, while the first one stays the same size.
I was thinking of using flexbox properties for this, but I'm open to other suggestions as well... :)