Codepen: http://codepen.io/iPhoneDevLog-1471536926/pen/WxWvpR
I’d like the user to select any part of the button to activate its link. Right now you have to make sure you click or tap on the text link. How do you make the entire button selectable?
Codepen: http://codepen.io/iPhoneDevLog-1471536926/pen/WxWvpR
I’d like the user to select any part of the button to activate its link. Right now you have to make sure you click or tap on the text link. How do you make the entire button selectable?
Hi there StevenHu,
use this…
#menuwrapper ul li a{
padding: 5px 0;
display: block;
text-decoration: none;
}
coothead
Yeah, that works! Thanks!
No problem, you’re very welcome.
coothead
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.