Advertisement
grozdana

Untitled

Oct 2nd, 2018
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>m & i apartments</title>
  5. <link rel="stylesheet" type="text/css" href="./css/style.css">
  6. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  7. <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">
  8. </head>
  9. <body>
  10.  
  11. <header id="showcase">
  12. <h1>M & I Apartments</h1>
  13. </header>
  14. <div id="mySidenav" class="sidenav">
  15. <a href="#" id="about">About</a>
  16. <a href="#" id="blog">Blog</a>
  17. <a href="#" id="projects">Projects</a>
  18. <a href="#" id="contact">Contact</a>
  19. </div>
  20. <div id="MySocial" class="social">
  21. <a href="#" id="Facebook"><i class="fab fa-facebook-f"></i></a>
  22. <a href="#" id="Twitter"> <i class="fab fa-twitter"></i></a>
  23. <a href="#" id="Google"> <i class="fab fa-google-plus-g"></i></a>
  24.  
  25. </div>
  26. <div id="content" class="container">
  27. The best apartments for your stay in Skopje,Maceddonia <!-- <i class="fas fa-hand-holding-heart" style="color: white "></i> -->
  28. </div>
  29. <a href="tel:+38979215507" class="btn">+389 79 215 507</a>
  30. <footer>Coded with <i class="fas fa-heart" style="color: red"></i> by G.A.Krstanoska</footer>
  31. </body>
  32. </html>
  33.  
  34. *{
  35. margin: 0;
  36. padding: 0;
  37. }
  38.  
  39. body{
  40.  
  41. font-family: Arial, Helvetica, sans-serif;
  42. background-image: url("http://www.dronestagr.am/wp-content/uploads/2015/06/Skopje-od-gore-1-1200x674.jpg");
  43. line-height: 1.6;
  44. background-repeat: no-repeat;
  45. background-size: cover;
  46. text-align: center;
  47. }
  48. .container{
  49. max-width: 960px;
  50. margin: auto;
  51. padding: 0 30px;
  52. }
  53. #showcase{
  54. height: 300px;
  55. }
  56. #showcase h1{
  57. font-size: 50px;
  58. line-height: 1.3;
  59. position: relative;
  60. animation-name: heading;
  61. animation-duration: 3s;
  62. animation-fill-mode: forwards;
  63. color: #A67C00;
  64.  
  65. }
  66. @keyframes heading{
  67. 0% {top: -50px;}
  68. 100% {top:200px;}
  69.  
  70.  
  71. }
  72. #content{
  73. position: relative;
  74. animation-name: content;
  75. animation-duration: 3s;
  76. animation-fill-mode: forwards;
  77. color: #E5C667;
  78. font-size: 20px;
  79.  
  80. }
  81. @keyframes content {
  82. 0% {right: -1000px;}
  83. 100% {right: 0;}
  84.  
  85.  
  86. }
  87. .btn{
  88. display: inline-block;
  89. color:white;
  90. text-decoration: none;
  91. padding: 1rem 2rem;
  92. border:#E5C667 2px solid;
  93. margin-top: 40px;
  94. opacity: 0;
  95. animation-name: btn;
  96. animation-duration: 3s;
  97. animation-delay: 3s;
  98. animation-fill-mode: forwards;
  99. font-size: 20px;
  100.  
  101. transition-property: transform;
  102. transition-duration: 1s;
  103. }
  104. .btn:hover{
  105. transform: rotateY(180deg);
  106. }
  107. @keyframes btn{
  108. 0% {opacity:0}
  109. 100%{opacity: 1}
  110.  
  111. }
  112. /*nav*/
  113. #mySidenav a {
  114. position: absolute; /* Position them relative to the browser window */
  115. left: -50px; /* Position them outside of the screen */
  116. transition: 0.3s; /* Add transition on hover */
  117. padding: 15px; /* 15px padding */
  118. width: 100px; /* Set a specific width */
  119. text-decoration: none; /* Remove underline */
  120. font-size: 20px; /* Increase font size */
  121. text-align: right;
  122. color: white; /* White text color */
  123. border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
  124. }
  125.  
  126. #mySidenav a:hover {
  127. left: 0;
  128. /* On mouse-over, make the elements appear as they should */
  129. opacity: 0.5;
  130. }
  131.  
  132. /* The about link: 20px from the top with a green background */
  133. #about {
  134. top: 240px;
  135. background-color:#E5C667 ;
  136. }
  137.  
  138. #blog {
  139. top: 290px;
  140. background-color: #A67C00; /* Blue */
  141. }
  142.  
  143. #projects {
  144. top: 340px;
  145. background-color:#E5C667; /* Red */
  146. }
  147.  
  148. #contact {
  149. top: 390px;
  150. background-color:#A67C00; /* Light Black */
  151. }
  152.  
  153. footer{
  154. color: white;
  155. text-align: center;
  156. margin-bottom: 0;
  157. margin-top: 150px;
  158. }
  159. #MySocial a {
  160. position: fixed; /* Position them relative to the browser window */
  161. right: -70px; /* Position them outside of the screen */
  162. transition: 0.3s; /* Add transition on hover */
  163. padding: 15px; /* 15px padding */
  164. width: 100px; /* Set a specific width */
  165. text-decoration: none; /* Remove underline */
  166. font-size: 15px; /* Increase font size */
  167. text-align: left;
  168. color: white; /* White text color */
  169. border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
  170. }
  171.  
  172. #MySocial a:hover {
  173. right: 0;
  174. /* On mouse-over, make the elements appear as they should */
  175. opacity: 0.5;
  176. }
  177.  
  178. /* The about link: 20px from the top with a green background */
  179. #Facebook {
  180. top: 500px;
  181. background-color: #3B5998;
  182. }
  183.  
  184. #Twitter{
  185. top: 540px;
  186. background-color:#1DA1F2; /* Blue */
  187. }
  188.  
  189. #Google{
  190. top: 580px;
  191. background-color:#DB4437; /* Red */
  192. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement