Hacker News new | ask | show | jobs
by vladocar 2906 days ago
It is a simple solution for very common problem: styling a CSS button. There are many CSS buttons libraries but they usually force you to use their style or size. That is why this is interesting and simple solution born with my necessity not to recode and reinvent the CSS button for every new project.
1 comments

The "hard" part about styling buttons is making them look the same for <a>, <button>, <input>, which is solved like a million times.

Your solution only addresses <div>, which is a accessibility nightmare.