Search
 
SCRIPT & CODE EXAMPLE
 

CSS

underline css animation hover

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #0087ca;
}

.hover-underline-animation:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0087ca;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
Comment

PREVIOUS NEXT
Code Example
Css :: Adding gradient to text color 
Css :: padding in css 
Css :: apply style to second child div 
Css :: css3, media queries cheatSheet 
Css :: How to remove horizontal scrollbar and yet allow vertical 
Css :: css radio button size 
Css :: css round outline 
Css :: hover effect button css 
Css :: how to horizontally center in css 
Css :: css div went over top menu 
Css :: wrap a span 
Css :: text overflow 
Css :: css clip text 
Css :: how bold text in css 
Css :: css how to make a pre tag to break line 
Css :: center a spinner css 
Css :: how to make fonts respnsive 
Css :: td wrap text without space 
Css :: style scrollbar overflow-y 
Css :: css calc 
Css :: how to use the transition left in css 
Css :: change element in iframe 
Css :: mat dialog background color 
Css :: @each scss 
Css :: align grid items with end 
Css :: how to make hr class bootstrap full width 
Css :: transform:translateX() 
Css :: Resetting Default Table Styles 
Css :: Pack lines toward the center of the flex container 
Css :: how to use font awesome with tailwind css 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =