News for hackers. Stuff that matters.
Re:TailwindCSS v2.0 by williamdclt on Wednesday November 18, 2020 @04:11PM (#25142488)
that sounds like a not-great designer, tbh. Which happens often, what I usually do is not take everything in the design at face value: 28px is actually 32px, which is 8rem, which is `w-something`.

It really needs to be 28px this time for some sorta-legit reason? Fine, add a semantic class (or id) for it that's not part of your tailwind framework, kind of dropping down to "usual" CSS

Re:TailwindCSS v2.0 by smhmd on Wednesday November 18, 2020 @09:07PM (#25145411)
An actual inline style would suffice in this case. Before v2.0, if you want anything other than `top: 0`, it was recommended you do it in the style attribute: `style="top: 20px;"`