Advertisement
Lirbo

Reyna Amethyst CP

Dec 31st, 2021
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. [html]
  2. <link rel="preconnect" href="https://fonts.googleapis.com">
  3. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  4. <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Special+Elite&family=Tangerine:wght@400;700&display=swap" rel="stylesheet">
  5.  
  6. <style>
  7. body{
  8. font-family: 'Cinzel', serif;
  9. }
  10.  
  11. img{
  12. max-width: 100%;
  13. height: auto;
  14. }
  15.  
  16. video{
  17. position: relative;
  18. right: 0;
  19. bottom: 0;
  20. width: 100%;
  21. height: auto;
  22. }
  23.  
  24. .wrapper{
  25. width: 100%;
  26. }
  27.  
  28. .intro{
  29. display: flex;
  30. justify-content: center;
  31. align-items: center;
  32. }
  33.  
  34. .intro-card{
  35. position: absolute;
  36. width: 25%;
  37. background-color: #000;
  38. overflow: none;
  39. }
  40.  
  41. .intro-card-img{
  42. position: relative;
  43. z-index: 1;
  44. }
  45.  
  46. .intro-card-img2{
  47. filter: invert(100%);
  48. position: absolute;
  49. top: 50;
  50. left: 50%;
  51. transform: translate(-50%, 50%);
  52. width: 50%;
  53. }
  54.  
  55. .intro-card:hover .intro-card-img{
  56. transition: 2s all;
  57. opacity: 0;
  58. }
  59.  
  60. .intro-card-description{
  61. position: absolute;
  62. top: 48px;
  63. left: 50%;
  64. transform: translateX(-50%);
  65. }
  66.  
  67. .intro-card-description h2{
  68. font-size: 36px;
  69. }
  70.  
  71. .main{
  72. margin: 30px;
  73. }
  74.  
  75. .main h1{
  76. font-size: 48px;
  77. color: white;
  78. text-align: center;
  79. }
  80.  
  81. </style>
  82.  
  83. <section class="intro">
  84. <video autoplay muted loop id="myVideo">
  85. <source src="https://cdn.discordapp.com/attachments/420296721906663434/926627072997228554/Particles.mp4" type="video/mp4">
  86. </video>
  87.  
  88. <div class="intro-card">
  89. <img src="https://1.bp.blogspot.com/-KLU24gX97bI/Xcsb8k_thbI/AAAAAAAAE_I/v2R3LFpfuw8r3rZF_JT6ERBVWTw25LkhQCLcBGAsYHQ/s1600/fef624999eb02c648647ec4bbbf2c313.jpg" class="intro-card-img">
  90. <div class="intro-card-description">
  91. </div>
  92. <img src="https://i.imgur.com/2GoHvs9.png" class="intro-card-img2">
  93. </div>
  94.  
  95. </section>
  96.  
  97. <section class="main">
  98. <h1>Reyna Amethyst</h1>
  99. </section>
  100. [/html]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement