|
|
|
|
|
by teitoklien
1693 days ago
|
|
Um you can in tailwind Its like md:p-2 which is for m devices , make padding as 2
Or xl:p-4 , which is for xl devices , make padding as 4 Similarly for hover or focus in tailwind its bg-white hover:bg-black focus:bg-red
Which says , by default keep background of this element white , when you hover over it keep it black and when you focus on it , keep it red Works just fine,
Give it a try and go through the docs of tailwind, navigating it using algolia, is a joy :D |
|
[1] https://github.com/tailwindlabs/tailwindcss/graphs/contribut...