Comments (1)
Put your code on theme/static_src/src/style.css
:
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
.button {
@apply bg-blue-500 text-white font-bold py-2 px-4 rounded;
}
}
from django-tailwind.
Related Issues (20)
- Preventing CSS caching
- Setting an item to not visible as the default then visible at any larger breakpoint doesn't work HOT 1
- Responsive Breakpoint Partially Working
- tailwind start not working
- Some classes didnt work
- Does not work with S3 HOT 5
- Changelog file is not updated. HOT 1
- Installation Error with "django-tailwind[reload]" Package HOT 1
- ModuleNotFoundError: No module named 'maintailwind'
- Freeze on tailwind init
- Multi-apps support
- [Solved] How to have the `theme` folder in a nested folder? HOT 1
- Not rebuilding automatically when new classes are added to templates HOT 4
- python manage.py tailwind start with SyntaxError: Unexpected token '.' HOT 2
- "theme" app created in parent dir when initiated in parent dir HOT 2
- FYI How to use with NGINX proxy HOT 1
- python manage.py tailwind start causes "sh: 1: cross-env: Permission denied" message
- Django Tailwind not working on DEBUG = False HOT 1
- Tailwind focus outline classes not working properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-tailwind.