LEARNING BY VUEING

Extract styles 2
8 / 17

The easiest way to extract styles is using components in Vue, React, Svelte, etc. or partials in Adonis, Laravel, etc.

The example contains two toggle buttons, one in Vue, and one in React. Yet, the CSS is done the same.

Tailwind is framework agnostic. So if you choose a different tech stack (or go vanilla), you can do CSS in the same way.

Try to uppercase the buttons and add a shadow.