body > div { margin: 100px 100px; width: 200px; height: 100px; background: #000; color: #7FFF00; font-family: Arial; font-weight: 500; font-size: 3.5em; text-align: center; line-height: 100px; transition: all 0.5s ease; } .scalemaxmin:hover { -webkit-transform: scale(1.5); -ms-transform: scale(1.5); transform: scale(1.5); } }
<body> <div class="scalemaxmin">Maх</div> </body>