#Css Flexbox and Grid

2 messages · Page 1 of 1 (latest)

twin prairie
#

Hey guys.

Is it considered bad practice if I using employ a container as a flex box at a smaller viewport but then change it to a grid container using a media query at a larger viewport?

#

E,g

<li className="flex flex-col justify-center items-center md:items-start md:grid md:grid-rows-2 md:grid-cols-4>

Note: I am using Tailwind CSS here.