How can I change link color and hover color in Bootstrap version 4?

前端 未结 9 1243
南笙
南笙 2021-01-11 14:33

In my design, I want to change my link and hover color in a specific part. I try my best but I can\'t do that. I am new in bootstrap. How can I change it for Bootstr

9条回答
  •  不思量自难忘°
    2021-01-11 15:25

    You can override the bootstrap classes by adding a custom css file like mystyle.css and place it just after bootstrap in the head section:

    
         
    
    

    and inside mystyle.css:

    .navbar-light .navbar-nav .nav-link {
    color: whitesmoke;
    }
    .navbar-light .navbar-nav .nav-link:hover {
    color: whitesmoke;
    }
    

提交回复
热议问题