Thien Do

Results 46 issues of Thien Do

10px vs 8px vs 12px

Don't use @apply. They are unnecessarily complicated and can be solved easier with native solution: CSS variables. For example: ```css :root { --color-red: #123456 } ``` to use in tailwinds:...

Can you guess what's the color of this without looking at browser: ```jsx ``` It depends on CSS's definition order, which is not guaranteed by Tailwind (and that's a good...

This is a valid usage, but can you guess what will be the background color of the Button: ```jsx ``` In general, inheriting class names, although common, is not a...

https://davidwalsh.name/sass-color-variables-dont-suck https://css-tricks.com/what-do-you-name-color-variables/

In case someone need a TS version: ```ts import selector, { Element, HastNode } from "hast-util-select"; import type { Transformer } from "unified"; const { selectAll } = selector; const...