Hasan Setiawan

Write, write, write give your wings on code!

Follow me on GitHub

Transition background-color on link

This is how to give transition background color when it's hovered.

      
          // here is the css
          a {
                background-color: #FF0;
            }

          a:hover
            {
                background-color: #AD310B;
                -webkit-transition: background-color 1000ms linear;
                -ms-transition: background-color 1000ms linear;
                transition: background-color 1000ms linear;
            }


        // and here is html