Can `fr` units only be used when we have declared `display: grid;` on an element?


#1

Question

Can fr units only be used when we have declared display: grid; on an element?

Answer

Yes. The fr unit is only applies to CSS grid containers.