Css3 transition – on hover overrided element

I wanted with Css “transition” make a little transition, where when container with other elements will be hover, then that one element will change color. But i don’t know how i can use transition there.

<article class="col-md-4 offer-box">
                            <div class="media">
                              <div class="media-left">
                                  <i id="icon" class="fa fa-paint-brush"></i>
                              <div class="media-body">
                                  <h4 class="media-heading" id="text-light">Web Design</h4>
                                <p class="text-muted">Pellentesque habitant 
                                    morbi tristique senectus et netus et
                                    malesuada fames ac turpis egestas. 
                                    Vestibulum tortor quam, feugiat vitae,
                                    ultricies eget, tempor sit amet, ante.
                                    Donec eu libero sit amet quam egestas 
                                    semper. Aenean ultricies mi vitae est.
                                    Mauris placerat eleifend leo.</p>

    color: #ef5925;
    font-size: 35px;
    transition-duration: 1s;
    color: #fff;
    font-size: 40px;   

Source: css3

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.