Skip to content

Commit

Permalink
Use @apply directive to define custom 'active' style
Browse files Browse the repository at this point in the history
  • Loading branch information
edavey committed Oct 24, 2024
1 parent b71ff51 commit fc1e272
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/application.tailwind.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

.active{
@apply bg-pink-300;
}

0 comments on commit fc1e272

Please sign in to comment.