Reducing the list of classes #2164
Answered
by
robbyrice
ColonelBlimp
asked this question in
Help
-
Hi, I am new to Tailwindcss. I have the following:
which produces two columns for the given screen sizes, and one column for everything else. Question:Is there any way to reduced Many thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
robbyrice
Aug 14, 2020
Replies: 1 comment 2 replies
-
You can remove |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ColonelBlimp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can remove
lg:grid-cols-3 xl:grid-cols-3
andlg:gap-2 xl:gap-2
because the larger sizes will inherit from the smaller ones. The same goes forlg:col-span-2 xl:col-span-2
on the innerdiv
.