‹ CSS

transform

Aplica transformaciones geometricas a un elemento: rotate(), scale(), translate() o skew(), combinables entre si.

Vista previa

Codigo

ejemplo.html
<style>
  .caja { width: 60px; height: 60px; background: #eee; transition: transform 0.3s ease; }
  .caja:hover { transform: rotate(15deg) scale(1.1); }
</style>
<div class="caja"></div>