News for hackers. Stuff that matters.
Re:Tailwind UI by iudqnolq on Wednesday February 26, 2020 @11:16AM (#22424306)
What if you want every link (from the perspective of the user, not based on the tag type) to have the exact same style? How would you do that without some sort of build step with an atomic unit for a link?

Isn't a section just a case of a component?

Re:Tailwind UI by deltron3030 on Wednesday February 26, 2020 @12:06PM (#22424899)
You could define the anchor element in the preflight.css file (normlize.css/reset).

Yeah, a section is a component, but in my book it also involves the visible page background where the element is located (you could override the page background with a section color), like a slice of the page.

Re:Tailwind UI by iudqnolq on Wednesday February 26, 2020 @12:10PM (#22424930)
Fair enough. I'd call that definition a component.