Home › Forums › CSS › Have made some css buttons would like to know if done correct. › Re: Have made some css buttons would like to know if done correct.
May 13, 2013 at 7:33 am
#134904
David_Leitch
Participant
Not bad, but I think there’s one big way that you could improve them: do a lot more of the styling on the _a_ tag. At the moment, you are only able to click on the text, because most of the button belongs to the li tag, which doesn’t react to clicking.
I’ve put together what I generally do for buttons [here](http://codepen.io/David_Leitch/pen/lmAws “Button examples”) to give you some suggestions. I’ve used a bit of Sass to put mine together, which you don’t need to use, but I just find it makes them a lot quicker.