...
/Use Tailwind CSS in Svelte Components
Use Tailwind CSS in Svelte Components
Learn how to use the Tailwind CSS in Svelte Components.
Tailwind CSS in action
Time to see our work in action and use a Tailwind CSS class in a component. Let’s
change the index page’s title to a different color. Click Run and follow the
src/routes/index.svelte
file given below, change the <h1>
tag to the following:
<h1 class="text-yellow-600"&
...