clarisue

2w3 ju mp menu

Mar 29th, 2022 (edited)
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. <!--- credit @catkanade --->
  2.  
  3. <style>
  4. #contain {
  5. display: block;
  6. width: 100%;
  7. height: 100%;
  8. z-index: 200;
  9. }
  10. .img {
  11. transition: .5s ease;
  12. margin: auto;
  13. position: absolute;
  14. z-index: 100;
  15. top: 0;
  16. right: 0;
  17. left: 0;
  18. bottom: 0;
  19. border-radius: 50%;
  20. border: 3px double #FF809E;
  21. width: 250px;
  22. height: 250px;
  23. overflow: hidden;
  24. }
  25. #contain:hover .spinny {
  26. animation-delay: 1.5s;
  27. animation: spin 8.5s linear infinite;
  28. animation-play-state: running;
  29. }
  30. .spinny {
  31. width: 100%;
  32. height: 100%;
  33. }
  34. @keyframes spin {
  35. 0% {
  36. transform: rotate(0);
  37. }
  38. 100% {
  39. transform: rotate(360deg);
  40. }
  41. }
  42. .zee {
  43. position: relative;
  44. z-index: 50;
  45. }
  46. #contain:hover .zee {
  47. position: relative;
  48. z-index: 101;
  49. transition: 1s;
  50. }
  51. .textscaling {
  52. filter: blur(6px);
  53. transition: .75s;
  54. transform: scale(0.8) rotate(90deg) translate(0px, 0px);
  55. }
  56. #contain:hover .textscaling {
  57. transform: scale(1) rotate(0deg) translate(-1px, -1px);
  58. filter: blur(0px);
  59. transition: 0s;
  60. }
  61. .text {
  62. text-align: center;
  63. top: 0;
  64. right: 0;
  65. left: 0;
  66. margin: auto;
  67. bottom: 0;
  68. position: absolute;
  69. font-family: gaegu;
  70. padding-left: 20px;
  71. padding-right: 20px;
  72. padding-top: 10px;
  73. padding-bottom: -20px;
  74. z-index: 50;
  75. width: 250px;
  76. height: 250px;
  77. overflow-y: scroll;
  78. background: white;
  79. font-size: 1em;
  80. border-radius: 50%;
  81. border: 3px double #FF809E;
  82. }
  83. #contain:hover .img {
  84. transform: translate(-65px, -65px) rotate(180deg);
  85. transition: 1.1s ease;
  86. }
  87. #contain:hover .text {
  88. animation: textmarry 1.1s ease;
  89. animation-fill-mode: forwards;
  90. animation-iteration-count: 1;
  91. }
  92. @keyframes textmarry {
  93. 0% {
  94. transform: translate(0px, 0px);
  95. }
  96. 70% {
  97. transform: translate(115px, 115px);
  98. }
  99. 72% {
  100. z-index: 105;
  101. }
  102. 100% {
  103. transform: translate(65px, 65px);
  104. z-index: 105;
  105. }
  106. }
  107. i {
  108. font-style: italic;
  109. }
  110. a {
  111. transition: .5s;
  112. letter-spacing: normal;
  113. }
  114. a:hover {
  115. transition: .5s;
  116. letter-spacing: 2px;
  117. }
  118. ::-webkit-scrollbar {
  119. width: 0;
  120. background: transparent;
  121. }
  122. ::-webkit-scrollbar-thumb {
  123. background: transparent;
  124. }
  125. </style>
  126.  
  127. <div id="contain"><div class="img"><img src="IMAGE LINK HERE" class="spinny"></div><div class="zee"><div class="textscaling"><div class="text"><br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec bibendum sem dolor, sollicitudin malesuada tortor ultrices nec. Sed nec nibh tellus. Morbi vel venenatis augue. Maecenas ultrices orci sit amet nunc aliquam mollis. Donec cursus ipsum a lacinia sagittis. Quisque congue dictum cursus. Cras id nisi urna.</br></div></div></div></div>
Add Comment
Please, Sign In to add comment