Skip to content

Instantly share code, notes, and snippets.

@ajaxray
Last active August 13, 2022 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajaxray/d0d7413c475a8e510f590e3095fdc2ff to your computer and use it in GitHub Desktop.
Save ajaxray/d0d7413c475a8e510f590e3095fdc2ff to your computer and use it in GitHub Desktop.
Make active/inactive status of simple filters clear and vivid (backpackforlaravel.com)
#bp-filters-navbar .nav-item[filter-type="simple"]:not(.active) a:before {
content: '️️️⬜️ '
}
#bp-filters-navbar .nav-item[filter-type="simple"].active a:before {
content: '️️️✅️ '
}
@ajaxray
Copy link
Author

ajaxray commented Aug 13, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment