Please, stop using outline: none. We have another solution! Just reset outline with :focus:not(:focus-visible) for users who click on controls and next set it with :focus-visible for keyboard users💡 P.S. ❤ Thank you so much, my sponsors: Ben Rinehart, Jesse Willard, Tatiana Ten…
We used to use resize: none to disable textarea resizing. We end up typing data with a lot of discomfort😒 But we can use resize: vertical and limit…
When using the hidden attribute browsers add display: none behind the scenes. It can used when adding display: none/display: block to elements that to…
2
Folks! I hasten to inform you can use my knowledge about CSS😉 You can ask any questions about CSS or make a review of your project or tell about what…
The scroll-behavior property can lead to dizziness or headache when smooth scrolling😩But if you use it with the prefers-reduced-motion media feature…
1
Did you try to click buttons that are too small? Or did you try to fill in forms using only the keyboard? What did you feel? "Blimey! That's very hard…
2
Don't add display: block to pseudo-elements if you use flexbox⛔Browsers make it themselves since after adding display: flex to the item they check a…
For 9+ years I had to write 0 to define margins, paddings with opposite sides. My inner perfectionist told me, It's not logical!😒 Yay, now…
2
2
See all

CSS isn't magic