<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Adding CSS Transition</title>
</head>
<body>
  <h1 class="heading">Hover Over Me</h1>
</body>
</html>
.heading
{
  color: darkblue;
  font-size: 15px;
  transition: all 0.5s;
  
  /*  Boooooooring tag  */
/*   transition: color 0.2s, font-size 0.4s, letter-spacing 0.6s, text-transform 0.9s; */
}

.heading:hover
{
  color: green;
  font-size: 25px;
  letter-spacing: 10px;
  text-transform: uppercase;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.