Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7.  
  8. <!-- Bootstrap CSS -->
  9. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  10.  
  11. <link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
  12.  
  13. <title>Eric Zhao</title>
  14. <link rel="stylesheet" href="style.css">
  15. </head>
  16.  
  17. <body>
  18. <div id="logo" class="row">
  19. <div class = "col">
  20. <h1>Eric Zhao</h1>
  21. </div>
  22. </div>
  23.  
  24. <div id="navbar" class="container">
  25. <nav class="navbar navbar-md">
  26. <a class="navbar-link" href="#">Gallery</a>
  27. <a class="navbar-link" href="#">About</a>
  28.  
  29. </nav>
  30. </div>
  31.  
  32.  
  33.  
  34. <!-- Optional JavaScript -->
  35. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  36. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  37. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  38. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  39. </body>
  40. </html>
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. -------------------------------------------
  50. h1 {
  51. padding-top: 40px;
  52. text-align: center;
  53. font-style: italic;
  54. font-weight: 600;
  55. font-size: 50px;
  56. text-transform: uppercase;
  57. padding-bottom: 40px;
  58.  
  59. }
  60.  
  61. .navbar{
  62. width:70% !important;
  63. margin:0px auto;
  64. left:0;
  65. right:0;
  66. padding:0;
  67. border-bottom:1px solid rgb(191,191,191);
  68.  
  69.  
  70. }
  71.  
  72. .navbar a{
  73. color: black;
  74. text-decoration: none;
  75. text-transform: uppercase;
  76. float:left;
  77. position: relative;
  78. padding: 10px 20px;
  79. overflow: hidden;
  80.  
  81. }
  82. .navbar a:after {
  83. background-color: grey;
  84. content: "";
  85. width: 0;
  86. height: 3px;
  87. left: 0;
  88. bottom: 0;
  89. transition: width 0.35s ease 0s;
  90. position: absolute;
  91. }
  92. .navbar a:hover::after{
  93. width: 100%;
  94. }
  95.  
  96.  
  97.  
  98. /*.a {
  99. background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  100. background-repeat: no-repeat;
  101. background-size: 100% 0.2em;
  102. background-position: 0 88%;
  103. transition: background-size 0.25s ease-in;
  104.  
  105. }
  106. . a:hover {
  107. background-size: 100% 88%;
  108. }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement