Flex / Grid layouts not working on button or fieldset elements
The Problem In some browsers the <button> element doesn’t accept changes to its display value, beyond switching between block and inline-block. This means that a <button> element cannot be a flex or grid container, or a <table>, either. In addition to <button> elements, you may find this constraint applying to <fieldset> and <legend> elements, as … Read more