DEV Community

Discussion on: You will love Tailwind CSS

Collapse
 
icanrelate profile image
chriz

Sorry for the naive question, I haven't really checked Tailwind out, but I've heard good things about it. How do you override CSS though? My use case would be having a base CSS for English, and have overrides for other languages.

Collapse
 
pozda profile image
Ivan Pozderac • Edited

no need to override, you want left border to be 2 px and orange with some padding and gray background, also text should be orange as well?

<div class="border-solid border-l-2 border-orange-500 px-6 py-4 bg-gray-200 text-orange-500">some content or message</div>

that's it, there is nothing to override here