![]() ![]() This will apply bg-green to device sizes md and above but small screen will still use bg-red. Eg, lets say you have a div which should have a background of red only on small devices but green on the rest of the screens, here's what you'll need to do. Meaning the styles get applied starting with small screens anything beyond that, you'll have to specify. Are you trying to center it vertically or horizontally? Here's my answer for either:įirst things first, you have to keep in mind that tailwindcss, like many frameworks out there is "mobile-first".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |