Advertisement
powys

estrellita double border

Jun 20th, 2021
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <p> please cr @baeyhkun if you use the lace border and cr @ciarispop for the code thanks and do not remove the credit part </p>
  2. <head>
  3.  
  4. <style>
  5. .container {
  6. position: relative;
  7. width: 100%;
  8. }
  9.  
  10. .image {
  11. opacity: 1;
  12. width: 100%;
  13. height: auto;
  14. opacity: 1;
  15. transition: .5s ease;
  16. backface-visibility: hidden;
  17. border: 3px double #000;
  18. }
  19.  
  20. .overlay {
  21.  
  22. position: absolute;
  23. bottom: 0;
  24. left: 0;
  25. right: 0;
  26. background-color: #FFF;
  27. overflow: hidden;
  28. width: 0;
  29. height: 100%;
  30. transition: .5s ease;
  31.  
  32. }
  33.  
  34. .container:hover .overlay {
  35. width: 35%;
  36. opacity: 0.8;
  37.  
  38. }
  39. .container:hover .image {
  40. opacity: 0.3;
  41. }
  42.  
  43. .link {
  44. text-decoration:none;
  45. text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;
  46. font-size:20px;
  47. font-weight: bold;
  48. font-style: italic;
  49. position: absolute;
  50. div align:"left";
  51. top: 50%;
  52. color: #fff;
  53. left: 40%;
  54. -webkit-transform: translate(-50%, -50%);
  55. -ms-transform: translate(-50%, -50%);
  56. transform: translate(-50%, -50%);
  57. white-space: nowrap;
  58.  
  59. </style>
  60. </head>
  61. <body>
  62.  
  63.  
  64.  
  65.  
  66. <div class="container">
  67.  
  68. <!-- change the image below only--!>
  69.  
  70.  
  71. <a href="https://twitter.com/un_nm5sy/status/1342849832336027648/photo/1" target= "_blank"><img src="https://pbs.twimg.com/media/EqLCzecUcAEtsSv?format=jpg&name=large" alt=" " class="image"></a>
  72. <div class="overlay">
  73. <div class="middle">
  74. <div class="link"><a href="#home">index</a>
  75. <p></p>
  76. <a href="#i">about</a>
  77. <p></p>
  78. <a href="#ii">rules</a>
  79. <p></p>
  80. <a href="#iii">love</a>
  81. </div>
  82. </div>
  83. </div>
  84.  
  85. </body>
  86. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement