css a href hover effect

Solutions on MaxInterview for css a href hover effect by the best coders in the world

showing results for - "css a href hover effect"
Kylian
03 Jul 2018
1/* css code */
2body{
3   background-color: #000;
4}
5.container{            
6   top: 50%;
7   left: 50%;
8   transform: translateX(-50%) translateY(-50%);
9   position: absolute;
10}
11li{
12   list-style: none;
13   display: inline-block;
14}
15a{
16   text-decoration: none;
17   color:#fff;
18   font-size: 24px;
19   padding: 0 20px;
20   display: inline-block;
21}
22.link::after{
23   content: '';
24   display: block;
25   width: 0;
26   height: 2px;
27   transition: width .3s;
28   background-color: #fff;
29}
30.link:hover::after{
31   width: 100%;
32   transition: width .3s;
33}
34
35/* html code */
36<div class="container">
37    <li><a href="#" class="link">Home</a></li>
38    <li><a href="#" class="link">About Us</a></li>
39    <li><a href="#" class="link">Services</a></li>
40    <li><a href="#" class="link">Gallery</a></li>
41    <li><a href="#" class="link">Contact</a></li>
42</div>
queries leading to this page
link html hover effectall css types active hoverhref hover from htmlhover effect css on linkmouse over effect for link in cssstyle a link when hoverfun anchor tag hover effectshover effect in css on linksimages same line link hover animation csshow to image on background eyes text with colorful effect hoverhtml hover linkhover effects css anchor hoverstyle hover linkcss links hover effectsa tag color and hover chnagehover effect for linkslink open effectshover effect for linkeffect hover linkbest link hover effectslinks hover effects csslink hover over colora link hover effects css hover effect link cssshover effect linkhtml link effects hoverbest hover link transitions csshover a hrefhover effect on linklinks hover effect in csshow to make a hover effect in css for linkson hover css linkcss link hover effectcss hover effect linkbest hover effect on link csstext link hover effectshover to change color csshover link effect csscss href hoverhref hoverhover effects on links csslink hover animationscss hover coloerhover effect for href csshover patterns csshover link effects csshtml a href hoverhow to create link hover effect in csscss a href hover effecthtml css hover link link hover animation csshover effect of an href in htmlhover over animation for linksbuttons hover effect csshover effects on links in cssmouse hover on external link animationanchor tag hover effectshover effect on linkshover linkshover over hyperlink csshover hrefhyperlink hover effects csscreate hover effect css linkshover effect links cssa 3ahover in html style link hover effects csslink effects cssanchor hover effectsa link css hovercss hover effect line appear below linkhtml 3alink e 3ahoverlink hover in cssanchor tag attribute hover texthover link css effecthover linkadd hover effect to linklink hover css effectsa link hover effect css how to applyhow to add hover effect to links csson hover linkcss link hover animationcss animation hover linkhover effect on link in csslink hover effect csslink animation csslink html open effectscss links on mouse hover exampleshover link css effectshover ul li csscss hover wave effecthtml hover colorcss link effectslink hover effectsimple links hover effectcss links only hover effectshover hyperlink effecthover css change colorcss hover link effectsclickable text hover effects csshr tag hover effecta link hover effectcss a href hover effectscss hover hrefstyling for hover effect on linklink css hover effectscss a 3ahoverhover link animation csshover link effectscss link hover effectshow to include link on hover effect in csshover and after css linesa href hovercss to change a tag hover colorcss a hoverlinks hover effect in pure csscss a href hover effect