Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css animate border bottom on hover

h1 { color: #666;display:inline-block; margin:0;text-transform:uppercase; }
h1:after {
  display:block;
  content: '';
  border-bottom: solid 3px #019fb6;  
  transform: scaleX(0);  
  transition: transform 250ms ease-in-out;
}
h1:hover:after { transform: scaleX(1); }
h1.fromRight:after{ transform-origin:100% 50%; }
h1.fromLeft:after{  transform-origin:  0% 50%; }
Comment

PREVIOUS NEXT
Code Example
Css :: how to add a background overlay in css 
Css :: background blend mode 
Css :: horizontal scroll 
Css :: vue import css scoped 
Css :: multiple divs next to each other 
Css :: how to create space inbetween text css 
Css :: hide element css 
Css :: css input radio checked 
Css :: canvas disable antialiasing 
Css :: how to remove gap between divs 
Css :: scss linear gradient not working 
Css :: rem vs em 
Css :: css gradient 3 colors 
Css :: How can I horizontally align my divs? 
Css :: css move animation 
Css :: how to center a div 
Css :: how to add hover effect in emotion 
Css :: css background offset 
Css :: create cross icon using css 
Css :: how to install tailwind css in html 
Css :: transition timing functions 
Css :: flask sqlalchemy array column 
Css :: css inverted border radius 
Css :: keyframe in css 
Css :: css all clases which start with col- 
Css :: css bottom 
Css :: css onclick change color 
Css :: add background video to div css 
Css :: rgb blue color code 
Css :: css disabled button hover style 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =