Skip to content

Instantly share code, notes, and snippets.

@jongravois
Created November 30, 2019 16:35
Show Gist options
  • Save jongravois/047810f1d4505accf2040edf586af845 to your computer and use it in GitHub Desktop.
Save jongravois/047810f1d4505accf2040edf586af845 to your computer and use it in GitHub Desktop.
.tw-tabs-container {
@apply flex text-left mb-4 border-b border-grey-400;
}
.tw-tab {
@apply border border-b-0 border-grey-400 rounded-t-lg px-4 py-2 bg-white .cursor-pointer .bg-white .inline-block .py-2 .px-4 .text-blue-500 .font-semibold .no-underline;
}
.tw-tab:hover {
@apply .text-blue-800;
}
.tw-tab:focus {
@apply outline-none;
}
.tw-tab.active {
@apply border border-b-0 border-grey-400 rounded-t-lg px-4 py-2 bg-blue-500;
}
.tw-tab.active {
@apply text-white;
}
.active--tab {
@apply .cursor-pointer .bg-blue-500 .inline-block .border-l .border-t .border-r .rounded-t .py-2 .px-4 .text-white .font-semibold .no-underline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment