Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Montserrat:500&display=swap');
  2.  
  3.  
  4.  
  5. body {
  6. margin: 0;
  7. font-family: 'Montserrat', sans-serif;
  8. font-weight: 500;
  9. background-image: url("https://images.pexels.com/photos/70497/pexels-photo-70497.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940");
  10. background-repeat: no-repeat;
  11. background-size: cover;
  12. width: 100%;
  13. filter: blur(1px);
  14.  
  15.  
  16. }
  17.  
  18.  
  19.  
  20. .container {
  21. width: 90%;
  22. margin: 0 auto;
  23.  
  24. }
  25.  
  26. header::after {
  27. content: '';
  28. clear: both;
  29. display: table;
  30.  
  31. }
  32.  
  33. .opacity1 {
  34. opacity: 0.2;
  35. }
  36.  
  37. .logo {
  38. float: left;
  39. width: 40px;
  40. padding-top: 13px;
  41. }
  42.  
  43. nav {
  44. float: right;
  45. }
  46.  
  47. nav ul {
  48. margin: 0;
  49. padding: 0;
  50. list-style: none;
  51. filter: blur(0px);
  52. }
  53.  
  54. nav li {
  55. display: inline-block;
  56. margin-left: 70px;
  57. padding: 25px 0;
  58.  
  59. position: relative;
  60. }
  61.  
  62. nav a {
  63. color: white;
  64. text-decoration: none;
  65.  
  66. }
  67.  
  68. nav a:hover {
  69. color: black;
  70. }
  71.  
  72. nav a::before {
  73. content: '';
  74. display: block;
  75. height: 3px;
  76. background-color: white;
  77. top: 0;
  78.  
  79. position: absolute;
  80. top: 0;
  81. width: 0%;
  82. transition: all ease-in-out 300ms;
  83. }
  84.  
  85. nav a:hover::before {
  86. width: 100%;
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement