I have a list of links, and when they freeze, I want the font to expand smoothly.
The font is currently growing instantly, even when using transition .
#menuHeader { font-weight: bold; } .link { text-decoration: none; } .menuItem { list-style-type: none; margin-bottom: 10px; } .menuLink { transition-property: font-size; transition-property: color; transition-duration: 0.3s; font-size: 16px; color: #000000; } .menuLink:hover { transition-property: font-size; transition-property: color; transition-duration: 0.3s; font-size: 20px; color: #97d700; }
<ul> <li class="menuItem" id="menuHeader">Title</li> <li class="menuItem"><a class="link menuLink" href="/">Link 1</a></li> <li class="menuItem"><a class="link menuLink" href="/">Link 2</a></li> <li class="menuItem"><a class="link menuLink" href="/">Link 3</a></li> </ul>
This is an example page.
https://www.roidna.com/services/
The bonds attached to the blocks grow when they hang.
source share