Expand clickable area of Webhelp tile
Posted: Tue Nov 03, 2020 12:52 am
Is there a way to expand the clickable area of a webhelp tile? For usability, it would be nice if the whole tile (green) was clickable and not just the title text (red).
I found this answer here, but the values don't match the entire tile area.
How to increase the clickable area of a <a> tag button?
https://stackoverflow.com/questions/110 ... tag-button
Is there a way to make this work so that the entire tile area is clickable? Can this also take into account the responsive sizing of the tile?
I found this answer here, but the values don't match the entire tile area.
How to increase the clickable area of a <a> tag button?
https://stackoverflow.com/questions/110 ... tag-button
Code: Select all
a {
display: inline-block;
position: relative;
z-index: 1;
padding: 2em;
margin: -2em;
}