Advertisement
izuemis

kanaria menu

Sep 8th, 2022
558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. <!--- cr cakepop crd for the menu --->
  2.  
  3.  
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <style>
  9. .contmenu {
  10. transition: all 0.5s;
  11. position: relative;
  12. width: 10em;
  13. margin:auto;
  14. -webkit-mask-image: url(https://dl.dropbox.com/s/jrlvwi8anjw814l/ezgif.com-gif-maker%20%2810%29.png);
  15. -webkit-mask-size: 220%;
  16. -webkit-mask-repeat: no-repeat;
  17. -webkit-mask-position: center;
  18. }
  19.  
  20. .imagemenu {
  21. transition: all 0.5s;
  22. display: block;
  23. width: 100%;
  24. height: auto;
  25. clip-path: circle(50% at 50% 50%);
  26. border: 7px solid white;
  27. border-radius: 100%
  28. }
  29.  
  30. .contmenu:hover {
  31. transition: all 0.5s;
  32. -webkit-mask-image: url(https://dl.dropbox.com/s/jrlvwi8anjw814l/ezgif.com-gif-maker%20%2810%29.png);
  33. -webkit-mask-size: 100%;
  34. -webkit-mask-repeat: no-repeat;
  35. -webkit-mask-position: center;
  36. }
  37.  
  38. .overlay {
  39. filter: grayscale(100%);
  40. transition: all 0.5s;
  41. position: absolute;
  42. bottom: 0;
  43. left: 0;
  44. right: 0;
  45. background: rgb(255,214,230);
  46. background: radial-gradient(circle, rgba(255,214,230,1) 0%, rgba(255,168,202,1) 49%, rgba(255,170,204,1) 83%);
  47. overflow: hidden;
  48. width: 100%;
  49. height: 100%;
  50. -webkit-transform: scale(0);
  51. -ms-transform: scale(0);
  52. transform: scale(0);
  53. -webkit-transition: .3s ease;
  54. transition: .3s ease;
  55. -webkit-mask-image: url(https://dl.dropbox.com/s/jrlvwi8anjw814l/ezgif.com-gif-maker%20%2810%29.png);
  56. -webkit-mask-size: 100%;
  57. -webkit-mask-repeat: no-repeat;
  58. -webkit-mask-position: center;
  59. }
  60.  
  61. .contmenu:hover .overlay {
  62. -webkit-transform: scale(1);
  63. -ms-transform: scale(1);
  64. transform: scale(1);
  65. }
  66.  
  67. .menutext { line-height:1em;
  68. color: white;
  69. text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;
  70. font-family: sant joan;
  71. font-size: 30px;
  72. position: absolute;
  73. top: 50%;
  74. left: 50%;
  75. -webkit-transform: translate(-50%, -50%);
  76. -ms-transform: translate(-50%, -50%);
  77. transform: translate(-50%, -50%);
  78. text-align: center;
  79. }
  80.  
  81. .menutext a { line-height:.75em; color: white;
  82. text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;
  83. font-family: sant joan;
  84. font-size: 25px; text-decoration: none }
  85.  
  86. .menutext a:link, a:visted { line-height:.75em;
  87. color: white;
  88. text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0;
  89. font-family: sant joan;
  90. font-size: 25px;
  91. }
  92.  
  93. @font-face {
  94. font-family: sant joan;
  95. src: url(https://dl.dropbox.com/s/iwvkrg8ccgd1pf4/SantJoanDespi-Regular.otf);
  96. }
  97. </style>
  98. </head>
  99. <body>
  100.  
  101. <div class="contmenu">
  102. <img src="https://dl.dropbox.com/s/61xuz688b52lcur/ab67616d0000b273ddb2a1ee9f83322d80768019.jpg?dl=0" alt="Avatar" class="imagemenu">
  103. <div class="overlay">
  104. <div class="menutext">
  105. <a href="#i">about</a> <br> <a href="#ii">rules</a> <br> <a href="#iii">media</a>
  106. </div>
  107. </div>
  108. </div>
  109.  
  110. </body>
  111. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement