Advertisement
hanimjay

for Tany

Apr 4th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.59 KB | None | 0 0
  1. <link href="https://fonts.googleapis.com/css?family=Open+Sans|Playfair+Display" rel="stylesheet">
  2. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  3.  
  4. <style>
  5. #for-tany{
  6. width: 500px;
  7. height: 200px;
  8. outline: 9px solid #F5E6E6;
  9. background: url(http://via.placeholder.com/500x200);
  10. border: 0.5px solid #E37191;
  11. margin: 15px auto;
  12. overflow: hidden;
  13. position: relative;
  14. }
  15.  
  16. #for-tany ::-webkit-scrollbar {
  17. width: 1px;
  18. }
  19.  
  20. #for-tany ::-webkit-scrollbar-track {
  21. background: #eee;
  22. border: 0.5px solid #eee;
  23. }
  24.  
  25. #for-tany ::-webkit-scrollbar-thumb {
  26. background: #fff;
  27. border: 0.5px solid #E37191;
  28. }
  29.  
  30. #for-tany .fade{
  31. position: absolute;
  32. width: 499px;
  33. height: 200px;
  34. top: 0.5px;
  35. left: 0px;
  36. background: #F5E6E6;
  37. opacity: 0;
  38. -o-transition: 0.3s ease-in 0.8s;
  39. -webkit-transition: 0.3s ease-in 0.8s;
  40. transition: 0.3s ease-in 0.8s;
  41. }
  42. #for-tany:hover .fade{
  43. opacity: 1;
  44. -o-transition: 0.3s ease-in 0s;
  45. -webkit-transition: 0.3s ease-in 0s;
  46. transition: 0.3s ease-in 0s;
  47. }
  48.  
  49. #for-tany .base{
  50. position: absolute;
  51. width: 500px;
  52. height: 200px;
  53. top: 0.5px;
  54. left: 0px;
  55. }
  56.  
  57. #for-tany .front{
  58. width: 165px;
  59. height: 165px;
  60. background: #fff;
  61. position: absolute;
  62. left: 130px;
  63. top: 11px;
  64. outline: 1px solid #E37191;
  65. border: 6.5px solid #F5E6E6;
  66. transform: rotate(45deg);
  67. -webkit-transform: rotate(45deg);
  68. }
  69.  
  70. #for-tany .left{
  71. position: absolute;
  72. width: 500px;
  73. height: 200px;
  74. top: 0px;
  75. left: -350px;
  76. -o-transition: 0.7s ease-in 0.4s;
  77. -webkit-transition: 0.7s ease-in 0.4s;
  78. transition: 0.7s ease-in 0.4s;
  79. }
  80. #for-tany:hover .left{
  81. left: 0px;
  82. }
  83.  
  84. #for-tany .right{
  85. position: absolute;
  86. width: 500px;
  87. height: 200px;
  88. top: 0px;
  89. right: -350px;
  90. -o-transition: 0.7s ease-in 0.4s;
  91. -webkit-transition: 0.7s ease-in 0.4s;
  92. transition: 0.7s ease-in 0.4s;
  93. }
  94. #for-tany:hover .right{
  95. right: 0px;
  96. }
  97.  
  98. #for-tany .icon{
  99. width: 100px;
  100. height: 100px;
  101. position: absolute;
  102. left: 58px;
  103. top: 52px;
  104. border-radius: 100px;
  105. z-index: 3;
  106. }
  107. #for-tany .icon img{
  108. width: 100px;
  109. height: 100px;
  110. border-radius: 100px;
  111. border: 1px solid #fff;
  112. }
  113.  
  114. #for-tany .icon-base{
  115. width: 115px;
  116. height: 115px;
  117. position: absolute;
  118. left: 50px;
  119. top: 45px;
  120. border-radius: 100px;
  121. background: #C45B81;
  122. border: 0.5px solid #fff;
  123. }
  124.  
  125. #for-tany .navs{
  126. width: 123px;
  127. height: 30px;
  128. position: absolute;
  129. top: 17px;
  130. right: 117px;
  131. background: transparent;
  132. border: 0.5px solid #E37191;
  133. transform: rotate(45deg);
  134. -webkit-transform: rotate(45deg);
  135. }
  136.  
  137. #for-tany .navs2{
  138. width: 123px;
  139. height: 30px;
  140. position: absolute;
  141. bottom: 18px;
  142. right: 114px;
  143. background: transparent;
  144. border: 0.5px solid #E37191;
  145. transform: rotate(-45deg);
  146. -webkit-transform: rotate(-45deg);
  147. }
  148.  
  149. #for-tany .fa{
  150. font-size: 12px;
  151. margin-left: 4px;
  152. color: #C45B81;
  153. -o-transition: 0.5s;
  154. -webkit-transition: 0.5s;
  155. transition: 0.5s;
  156. width: 25px;
  157. height: 18px;
  158. padding-top: 7px;
  159. margin-top: 2px;
  160. }
  161. #for-tany .fa:hover{
  162. transform: rotate(360deg);
  163. -webkit-transform: rotate(360deg);
  164. color: #fff;
  165. text-shadow: 1px 1px #C45B81;
  166. }
  167.  
  168. #for-tany .textbox{
  169. width: 90px;
  170. height: 85px;
  171. position: absolute;
  172. top: 58px;
  173. left: 175px;
  174. overflow: auto;
  175. text-align: justify;
  176. font-family: 'Open Sans', sans-serif;
  177. font-size: 9px;
  178. padding-right: 9px;
  179. color: #555;
  180. line-height: 12px;
  181. letter-spacing: 0px;
  182. z-index: 2;
  183. }
  184.  
  185. #for-tany .textbox b{
  186. color: #C45B81;
  187. padding: 8px;
  188. margin-right: 5px;
  189. float: left;
  190. font-family: 'Playfair Display', serif;
  191. font-weight: 200;
  192. font-size: 15px;
  193. }
  194.  
  195. #for-tany .title{
  196. width: 90px;
  197. height: 70px;
  198. background: transparent;
  199. position: absolute;
  200. right: -10px;
  201. bottom: 65.5px;
  202. font-family: 'Playfair Display', serif;
  203. color: #C45B81;
  204. text-align: left;
  205. padding-right: 22px;
  206. padding-left: 20px;
  207. border-bottom: 0.5px solid #E37191;
  208. font-size: 15px;
  209. font-style: italic;
  210. letter-spacing: 0px;
  211. line-height: 19px;
  212. }
  213.  
  214.  
  215. </style>
  216.  
  217. <center>
  218. <div id='for-tany'>
  219. <div class='fade'></div>
  220. <div class='base'>
  221.  
  222. <div class='left'>
  223. <div class='icon-base'></div>
  224.  
  225. <div class='front'></div>
  226. <div class='textbox'>
  227. <b>12/3</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ut tempor neque. Donec vel finibus velit, et ultricies justo. Donec a lorem maximus, commodo augue non, iaculis odio. Nunc porta dolor ullamcorper, imperdiet leo quis, varius massa. Maecenas rutrum mi ac accumsan imperdiet.
  228. </div>
  229.  
  230. <div class='icon'>
  231. <a href="https://shadowplayers.jcink.net/index.php?showuser=95" title="hanie ©">
  232. <img src="http://via.placeholder.com/100x100"></a>
  233. </div>
  234. </div>
  235.  
  236. <div class='right'>
  237. <div class='navs'>
  238. <a href="#" title="coding"><i class="fa fa-codepen"></i></a>
  239. <a href="#" title="graphic"><i class="fa fa-paint-brush"></i></a>
  240. <a href="#" title="playground"><i class="fa fa-rocket"></i></a>
  241. </div>
  242.  
  243. <div class='navs2'>
  244. <a href="#" title="hof"><i class="fa fa-trophy"></i></a>
  245. <a href="#" title="deviantart"><i class="fa fa-deviantart"></i></a>
  246. <a href="#" title="pokedex"><i class="fa fa-star"></i></a>
  247. </div>
  248.  
  249. <div class='title'>put your short title here.</div>
  250. </div>
  251.  
  252. </div>
  253. </div>
  254. </center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement