loading...

Tip #2 : Reset a button's style

gablaroche profile image Gabriel Laroche Updated on ・1 min read

This series is about all the neat little HTML/CSS/JS tricks I found and keep finding. Most of these are things that initially took me quite a long time to find or figure out and some are just useful tricks that I use in my day to day.

This tip is not something that I struggled with on the past, it's more of something that I use often and provides a clean slate to build awesome buttons.

button {
  padding: 0;
  background: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
}

That's it :)
Have fun making amazing buttons!

Discussion

markdown guide