Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
friendlypeg
on June 10, 2022
|
parent
|
context
|
favorite
| on:
Play with TailwindCSS in the Browser
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?
clementmas
on June 10, 2022
|
next
[–]
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.
criswell
on June 10, 2022
|
prev
|
next
[–]
Intellisense would help a lot with this task:
https://gist.github.com/crswll/db0d276bbf0884b003f3715d48e68...
atonse
on June 10, 2022
|
prev
[–]
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.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: