Search
 
SCRIPT & CODE EXAMPLE
 

CSS

CSS menu list with underline hover animation

.nav-links ul li a{
    /* update color of link text to white, size to 13px and
     delete underline of link-text*/
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    /* underline red as a after content it equal a div
    with background color,..*/
    content: '';
    width: 0;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    /* ul li ::after when hover */
    width:100%;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css animation left 
Css :: laravel public css not found 
Css :: How to Reveal Content on Hover with Expanding Corner Tabs in Divi 
Css :: IE support stackover flow css 
Css :: paste in form field cordova app 
Css :: easyui datagrid header multiline 
Css :: p{ color: blue; font-size: 14px; } 
Css :: how to apply a background image in css 
Css :: what is text-justify in css 
Css :: css background-clip 
Css :: how to change line colors in css 
Css :: css animation 3d effect 
Css :: spree_digital 
Typescript :: flutter run code every second 
Typescript :: rails precompile assets production 
Typescript :: typescript record optional 
Typescript :: json-server : File C:UsersROUSHAN SHARMAAppDataRoaming pmjson-server.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see 
Typescript :: axis limits matlab 
Typescript :: error TS2564: Property 
Typescript :: tolowercase typescript 
Typescript :: yarn.ps1 cannot be loaded because running scripts is disabled on this system. 
Typescript :: adonisjs decrement 
Typescript :: get a span inside a div with div id javascript 
Typescript :: Whats the biggest lesson to know if programming 
Typescript :: add to classlist of element in typescript not applied the css styles 
Typescript :: typescript show arguments on function call vscode 
Typescript :: sql see constraints on table 
Typescript :: facts aboutdavid oliveira 
Typescript :: set localStorage angualr 
Typescript :: edit card-deck breakingpoints bootstrap 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =