@tikeyike
Posted
Just some stylistic feedback:
-
If you're adding a border to the hovered button, you should also include a border on the default button - this will get rid of the change in the button height (just hover over your buttons, and you will see the button "grow" by 2px).
-
You can also add in a transition to make the buttons "feel" a bit nicer when you hover over them.
button { /* border: none; */ border: 2px solid transparent; }
[class*="btn-"]:hover { /* border: 1px solid white; */ border: 2px solid hsl(0, 0%, 100%); transition: 0.2s ease-in; }
Marked as helpful
@Olabayoji
Posted
@tikeyike thank you so much. Was wondering what to do to solve the button height problem. I’d implement it right away.