.underline-gradient {
background: linear-gradient(90deg, red, blue);
background-size: 0% 3px;
background-repeat: no-repeat;
background-position: left bottom;
transition: background-size 300ms ease;
}
.underline-gradient:hover {
background-size: 100% 3px;
}
.expand{
position:relative;
text-decoration:none;
display:inline-block;
}
.expand:after {
display:block;
content: '';
border-bottom: solid 3px #000;
transform: scaleX(0);
transition: transform 250ms ease-in-out;
transform-origin:100% 50%
}
.expand:hover:after {
transform: scaleX(1);
transform-origin:0 50%;
}
Code Example |
---|
Css :: dotted underline css |
Css :: elementor sticky keep within column |
Css :: css invert text color |
Css :: sass react |
Css :: Find element that is causing overflow css |
Css :: animate font weight css |
Css :: margin clickable |
Css :: html5 video hide timeline |
Css :: css selector not checked |
Css :: how to change paragraph text color to orange - css |
Css :: need short long paragraph css |
Css :: padding clamp |
Css :: position sticky css |
Css :: comments in css |
Css :: hover effect button css |
Css :: css selector every child except last |
Css :: get into a Docker container bash |
Css :: center li in ul css |
Css :: how bold text in css |
Css :: flex fill space |
Css :: flex align top css |
Css :: put an border around an text in css |
Css :: video camera icon font awesome |
Css :: @font-face rule in css |
Css :: tabla responsive css |
Css :: css margin top |
Css :: outside padding css |
Css :: how to x axis scroll css |
Css :: color code for cyan |
Css :: css top padding |