tangycode

afternoon page

Jun 30th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>afternoon page</title>
  6. <link rel="shortcut icon" href="favicon url">
  7.  
  8. <style type="text/css">
  9.  
  10. body {
  11. background:#000;
  12. background-image:url('https://66.media.tumblr.com/7cdc6b1fa79e04c67f7ba6843444b1a2/tumblr_opxxc65hHf1u3233wo2_r1_1280.png');
  13. background-attachment:fixed;
  14. background-size:cover;
  15. color:#fff;
  16. font-family:monospace;
  17. font-size:14px;
  18. }
  19.  
  20. a {
  21. color:#fff;
  22. text-decoration:underline;
  23. -moz-transition-duration: 0.5s;
  24. -o-transition-duration: 0.5s;
  25. -webkit-transition-duration: 0.5s;
  26. transition-duration: 0.5s;
  27. }
  28.  
  29. a:hover {
  30. color:#000;
  31. background:#fff;
  32. -moz-transition-duration: 0.5s;
  33. -o-transition-duration: 0.5s;
  34. -webkit-transition-duration: 0.5s;
  35. transition-duration: 0.5s;
  36. }
  37.  
  38. .container {
  39. width:1000px;
  40. margin:0 auto;
  41. overflow:hidden;
  42. text-align:center;
  43. }
  44.  
  45. .boxwrapper {
  46. width:510px;
  47. margin-top:75px;
  48. height:413px;
  49. display:inline-block;
  50. position:relative;
  51. }
  52.  
  53. .box {
  54. width:500px;
  55. height:300px;
  56. position:relative;
  57. background:#000;
  58. border:4px solid #fff;
  59. vertical-align:top;
  60. }
  61.  
  62. .boxright {
  63. width:300px;
  64. height:300px;
  65. position:absolute;
  66. right:0;
  67. border-left:4px solid #fff;
  68. }
  69.  
  70. .boximg {
  71. width:150px;
  72. height:150px;
  73. border:4px solid #fff;
  74. position:absolute;
  75. top:18px;
  76. left:18px;
  77. }
  78.  
  79. .bio {
  80. width:200px;
  81. height:115px;
  82. position:absolute;
  83. bottom:0;
  84. left:0;
  85. }
  86.  
  87. .question {
  88. color:#000;
  89. text-transform:uppercase;
  90. text-shadow:0 0 3px #000;
  91. background:#f5a742;
  92. font-weight:bold;
  93. font-size:16px;
  94. display:inline-block;
  95. }
  96.  
  97. .link {
  98. height:100px;
  99. width:100px;
  100. margin-left:-10px;
  101. position:relative;
  102. display:inline-block;
  103. overflow:hidden;
  104. background-color:#000;
  105. border:4px solid #fff;
  106. vertical-align:bottom;
  107. -moz-transition-duration: 0.5s;
  108. -o-transition-duration: 0.5s;
  109. -webkit-transition-duration: 0.5s;
  110. transition-duration: 0.5s;
  111. }
  112.  
  113. .link:hover {
  114. background-color:#fff;
  115. -moz-transition-duration: 0.5s;
  116. -o-transition-duration: 0.5s;
  117. -webkit-transition-duration: 0.5s;
  118. transition-duration: 0.5s;
  119. }
  120.  
  121. .link p {
  122. position:relative;
  123. top:50%;
  124. transform:translateY(-50%);
  125. margin:0 auto;
  126. text-align:center;
  127. }
  128.  
  129. </style>
  130. </head>
  131. <body>
  132. <div class="container">
  133. <div class="boxwrapper">
  134. <div class="box">
  135. <div class="boximg">
  136. <img src="https://66.media.tumblr.com/d473794c94a3f3c7bc90c338dec52b53/tumblr_inline_o6jxtv20vt1ti90tv_250.gif" width="150px" height="150px">
  137. </div>
  138. <div class="bio" style="text-align:left;margin-left:18px;">
  139. <p><div class="question">name:</div> name here</p>
  140. <p><div class="question">age:</div> age here</p>
  141. <p><div class="question">prns:</div> prns here</p>
  142. </div>
  143. <div class="boxright">
  144. <p>hello put your about info here :) and eat worms</p>
  145. </div>
  146. </div>
  147. </div>
  148. <a href="/"><div class="link">
  149. <p><img src="https://66.media.tumblr.com/71e59aae5d60a316ba836143c79c7792/tumblr_inline_npk27nq8S51ry72eo_75sq.png"></p>
  150. </div></a>
  151. </div>
  152. </body>
  153. </html>
Advertisement
Add Comment
Please, Sign In to add comment