Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. HTML
  2.  
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <title>Sluff</title>
  9. <meta name="description" content="">
  10. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  11. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  12. <link rel="stylesheet" href="css/index.css">
  13. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  14. </head>
  15. <body>
  16. <div id="page-container">
  17. <section class="menu">
  18. <header>
  19. <div class="container1">
  20. <div class= "row justify-items-start">
  21. <div class="col-lg-3"><a href="#">Contact</a></div>
  22. <div class="col-lg-3"><a href="#">Dasboards</a></div>
  23. <div class="col-lg-3"><a href="#">Prices</a></div>
  24. </div>
  25. </div>
  26. </header>
  27. </section>
  28. <section id=intro>
  29. <div>
  30. <H1>Sluff</H1>
  31. </div>
  32. <button type="button" class="btn btn-dark">Dark</button>
  33. <div>
  34. <span>
  35. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat nisi, fugit rem voluptatum, sequi nemo, non corrupti ut ratione architecto cupiditate quasi ipsa vero animi possimus voluptate rerum quia sapiente!
  36. </span>
  37. </div>
  38. </section>
  39. <section id="dashboards">
  40. <div>
  41. <span>
  42. Lorem ipsum dolor sit amet consectetur adipisicing elit.
  43. Alias nam eaque autem quae vel necessitatibus vitae ullam perspiciatis magni blanditiis.
  44. Temporibus consequatur debitis qui maxime nobis voluptate suscipit laudantium autem?
  45. </span>
  46. </div>
  47. </section>
  48. <footer>
  49. <div style="margin: 10px;">
  50. <span>&copy;2020</span>
  51. <span>Made by <a href="https://twitter.com/madwashed">Saarel</a></span>
  52. </div>
  53. </footer>
  54. </div>
  55. </body>
  56. </html>
  57.  
  58.  
  59.  
  60.  
  61. CSS
  62.  
  63. :root{
  64. --purpleback:#2A2033;
  65. --words:#d4d2d6;
  66. --purplebottom:#251c2d;
  67. --purpletop:#211928;
  68. }
  69.  
  70. *{
  71. -webkit-user-select: none;
  72. -webkit-user-drag: none;
  73. -webkit-app-region: no-drag;
  74. }
  75.  
  76. html{
  77. scroll-behavior: smooth;
  78. font-family: Helvetica;
  79. }
  80.  
  81. #page-container {
  82. position: relative;
  83. min-height: 100vh;
  84. }
  85.  
  86. body{
  87. background-color: var(--purpleback);
  88.  
  89. }
  90.  
  91. .menu{
  92. margin: 0;
  93. padding: 0;
  94. background-color: var(--purpletop);
  95. background-attachment: fixed;
  96. }
  97.  
  98.  
  99. #intro{
  100. color: var(--words);
  101. text-align: center;
  102. }
  103.  
  104. #dashboards{
  105. color: var(--words);
  106. text-align: center;
  107. }
  108.  
  109.  
  110. footer{
  111. background-color: var(--purplebottom);
  112. text-align: center;
  113. position: absolute;
  114. bottom: 0;
  115. width: 100%;
  116. height: 3.0rem;
  117. }
  118.  
  119. footer span{
  120. color: var(--words);
  121. text-align: bottom;
  122. }
  123.  
  124. footer a{
  125. color: var(--words);
  126. text-decoration: none;
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement