This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
As a beginner in Django and web development, can I use Tailwind CSS with |
Beta Was this translation helpful? Give feedback.
Answered by
xshapira
Jan 9, 2023
Replies: 1 comment
-
Absolutely! You can use Tailwindcss in the same way you would use any other CSS classes. Here's a simple example from one of my projects: <li class="flex items-center mb-2">
{% svg "icon-check" class="w-3 h-3 fill-current text-green-500 mr-3 flex-shrink-0" %}
</li> Note that the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jasonleex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Absolutely! You can use Tailwindcss in the same way you would use any other CSS classes. Here's a simple example from one of my projects:
Note that the
icon-check
should be stored in your SVGs folder namedsvg
at the root of your static file directory.