I would like to make some links (the list under user_options class) scale when the mouse hovers them. I'm new to CSS and HTML so, I guess this is a pretty basic mistake but I still can't make it work. Thanks in advance.
This is my HTML:
<body>
<div id="content">
<div id="header" class="animated bounceInLeft" >
<div class="user row">
<div class="col-md-3 user_menu">
<div class="user_photo">
<img src="AVATAR.jpg" alt="User Profile Photo" class="user_pic">
</div>
<div class="user_options">
<ul>
<li><a href="#">Rui Nunes </a></li>
<li><a href="#">Edit Profile </a></li>
<li><a href="#">Logout </a> </li>
</ul>
</div>
</div>
(etc...............)
</div>
</div>
And this is my CSS code:
#header .user .user_menu .user_options ul li a {
transition: all .2s ease-in-out;
}
#header .user .user_menu .user_options ul li a:hover {
transform: scaleX(1.3);
}