The focus container pseudo-class acts like
:focus and additionally matching elements whose descendants in the flat tree have received focus too.
/* declarations */
After focusing the input the parent
form should have a yellow background.
# Browser support
Platform Chrome Firefox Safari Edge Internet Explorer Opera
Desktop Yes (60) Yes (52) Yes (10.1) No No Yes (47)
Yes (60) Yes (52) Yes (10.3) No No