Flex and grid share the same common features which makes it so confusing when to use flex and when to using grid. In this article, we will explain what is the difference between these two properties. We use flex in a one-dimensional layout (row or column) while grid using in two- dimensional layout (rows and columns)

•6m read time•From dev.to
Post cover image
1 Comment

Sort: