Skip to content

Instantly share code, notes, and snippets.

@gilbertoalbino
Last active November 20, 2019 15:23
Show Gist options
  • Save gilbertoalbino/24532f655d1754c92df5720f2a47b1d8 to your computer and use it in GitHub Desktop.
Save gilbertoalbino/24532f655d1754c92df5720f2a47b1d8 to your computer and use it in GitHub Desktop.
Exemplo de componentização de seletores no TailwindCSS usando SCSS
.btn-city {
@apply block w-full rounded-full border border-gray-200 py-6;
@apply bg-gray-200 text-red-600 text-3xl text-center leading-tight;
}
.btn-city:focus {
@apply outline-none;
}
.btn-city:hover {
@apply bg-white border-gray-500;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment