Skip to content

Instantly share code, notes, and snippets.

@gilbertoalbino
Created November 20, 2019 01:00
Show Gist options
  • Save gilbertoalbino/b5b1d73164839efc40601710cc7aa0fd to your computer and use it in GitHub Desktop.
Save gilbertoalbino/b5b1d73164839efc40601710cc7aa0fd 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;
&:focus {
@apply outline-none;
}
&: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