Advertisement
virtualideaz

transparent-to-colored-navbar.css

May 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.94 KB | None | 0 0
  1. /***css file for this snippet**/
  2.  
  3. body {
  4.     font-style: Arial, Sans-serif, serif;
  5.     font: 400px;
  6. }
  7.  
  8. /**********************************************************/
  9. /*****this is the css for the transparent/opaque navbar****/
  10. .navbar-inverse {
  11.     background-color: transparent; /***set the navbar to transparent****/
  12.     border-color: rgba(255,255,255, 0.4);
  13.     color: white;
  14.     letter-spacing: 4px;
  15.    
  16. }
  17. .navbar-inverse .navbar-brand {
  18.     font-size: 20px;
  19.     color: #FFF;
  20. }
  21. .navbar-inverse .navbar-nav>li>a{
  22.     font-size: 20px;
  23.     color: #FFF;
  24. }
  25. .navbar-fixed-top.scrolled { /***this is the css for the transition color for your navbar. THIS IS A MUST!****/
  26.     background-color: rgba(0,0,0,0.5); /***THE TRANSITION COLOR****/
  27.     transition: background-color 200ms linear;
  28.     color: black;
  29. }
  30. /*********************************************************/
  31. .header-image {
  32.     background-color: skyblue;
  33.     padding: 350px;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement