Tailwind Questions
I figured I would start a TW thread.
First question: I have a table from the scaffold and added a footer row. I added 'text-bold' to the cell class but yet I can't make that reflect in the browser. After some testing I can't seem to add any text that is bold anywhere with the Tailwind class.
First question: I have a table from the scaffold and added a footer row. I added 'text-bold' to the cell class but yet I can't make that reflect in the browser. After some testing I can't seem to add any text that is bold anywhere with the Tailwind class.
Font weight classes are referenced by 'font', not 'text' - like `font-bold`
https://tailwindcss.com/docs/font-weight/#app
https://tailwindcss.com/docs/font-weight/#app
I'll copy this over from the other Tailwind thread:
For anyone new to Tailwind I highly recommend watching some of Adam Wathan's 'Rebuilding...' videos on YouTube where he takes an existing website and rebuilds the design in Tailwind live, piece by piece.
You'll see how crazy fast and flexible Tailwind is. Granted, he's the creator so he'll know it better than anyone else but it does show how you can build layouts and components that are not possible with Bootstrap.
For anyone new to Tailwind I highly recommend watching some of Adam Wathan's 'Rebuilding...' videos on YouTube where he takes an existing website and rebuilds the design in Tailwind live, piece by piece.
You'll see how crazy fast and flexible Tailwind is. Granted, he's the creator so he'll know it better than anyone else but it does show how you can build layouts and components that are not possible with Bootstrap.
I keep that docs tab open all the time and hop over to it regularly. It's a great resource, especially with the '/' to focus the search bar. Very quick to look up classes with loose search text.
It seems the template is missing them and https://tailwindcss.com/docs/table-layout/#app seems very lacking about tables.
Or do you recommend just going with a grid?
I only use tables for displaying actual rows of data, like database records, invoice items, etc. So I'd probably use the standard HTML tags for tables then styling them with Tailwind's layout styles.
Notifications
You’re not receiving notifications from this thread.