For some reason, the clickable region for my text is much larger in height than the div and 'a' tag are set as. If you run the code snippet and hover beneath and below the text, you will see that the clickable area is much larger than the div and 'a' tag. Any ideas?
Thanks.
.title {
display: flex;
position: absolute;
background-color: red;
z-index: 6;
height: 7em;
width: 20em;
bottom: 11.25vh;
text-align: left;
}
.title a {
font-size: 108px;
line-height: 108px;
text-decoration: none;
color: #000;
font-family: 'Inknut Antiqua', serif;
}
Run code snippetExpand snippet
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)