I’ve got 2 issues. Both are with trying to create a button when exporting adobe xd to html and css.
Whenever i set a hyperlink to a rectangle, the clickable area is way to big. Even below the button i’m able to press which is not exactly what i’d need. If i try to put the hyperlink only on the text inside the button, i can only click on the text which makes the area to small.
The second one is quite hard to explain. Basically, when i add a hover effect on the rectangle of my button, the text is in the way. The hover works perfectly fine, but when hovering over the text, which is in the button, the hover doesn’t get triggered. Is there a way to trigger the hover of the rectangle when hovering over the text, or creating some kind of ignore when hovering over the text, so it triggers the hover of the rectangle?
Any help is much appreciated!
Thanks in advance,