News for hackers. Stuff that matters.
Re:Play with TailwindCSS in the Browser by friendlypeg on Friday June 10, 2022 @08:35AM (#31693169)
Is there a VSCode plugin that help you do something like this: when I type text-20px it will try to find the closest class e.g. text-sm automatically?
Re:Play with TailwindCSS in the Browser by clementmas on Friday June 10, 2022 @08:39AM (#31693219)
Tailwind CSS IntelliSense will give you a list of all the possible classes with the associated pixel value.

You can also do text-[20px] if you really need that specific size.

Re:Play with TailwindCSS in the Browser by criswell on Friday June 10, 2022 @03:37PM (#31698511)
Intellisense would help a lot with this task: https://gist.github.com/crswll/db0d276bbf0884b003f3715d48e68...
Re:Play with TailwindCSS in the Browser by atonse on Friday June 10, 2022 @10:50AM (#31695009)
No but when you select an intellisense suggestion, before hitting enter, it’ll show you the underlying css. That can sort of give you the same effect even if in reverse.