DEV Community

sundaycrunk
sundaycrunk

Posted on

Answer: Make entire <li> clickable with <a> element inside without javascript [duplicate]

You need to add display:block to your <a> tags, then you can set a width and height or padding [on the <a>], if you want to make the clickable region bigger.

Top comments (0)