I have a heading in my code that I’m transitioning the font size of during mouseover:
h1 {
font-family: ‘Lobster’, Sans-serif;
font-size: 6.8em;
color: #337ab7;
padding: 0;
margin-top: 0px;
transition: color 0.8s ease-out, font-size 0.25s ease-out;
}
h1:hover {
font-size: 8em;
color: #ff8900;
}
When you mouseover the text, it is moving the contents below it down as the heading expands. I’m having quite a bit of trouble fixing that issue so the content below is fixed. Any help would be appreciated.