This must be a duplicate, but I can only find other questions where font sizes have been explicitly defined in CSS. Here I am using the browser default font size.
I've noticed that in Firefox/IE11/Edge that the default font size is smaller in a list's option
element, than what is used by default in the containing label
, or parent container:
No doubt its in the HMTL5 spec's, which is fine. The question is, is it possible to make the font size the same (relatively) as it's containing label (so there is no shrinkage in size) without specifying a font-size (e.g. 16px)? So, the word "Select" and the word "Foo" would be the same font size.
I've tried both...
select {font-size:1em;}
select {font-size:100%;}
...without success.