Replies: 1 comment
-
For dev purposes, you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The purpose is to provide the new comers, who use
Tailwind CSS
inJavaScript
to style components, with basic info for avoiding some common inconsistencies betweenCSS
andJS
.With
tailwindcss: 2.0.1
andLitElement: 2.4.0
the following issues exist:`
characters lying in the comments. Remove them, escape them, or replace them with another character e.g.'
or"
.\.
string in cases of decimal figures e.g..space-y-0\.5
. Replace them with another character/string e.g._
and.space-y-0_5
.\/
string in cases of parts e.g..h-1\/2
. Replace them with another character/string e.g._
orof
and.h-1_2
or.h-1of2
.\32
string in cases of\32xl\:...
eg.\32xl\:container
. Replace them with another character e.g.x
andxxl\:container
.Do you have a different experience to share? Are there more inconsistencies or better ways to avoid them? Please let us know.
Beta Was this translation helpful? Give feedback.
All reactions