mixue

pink pro plus crd

Dec 26th, 2022 (edited)
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. *CSS STYLING CODES*
  2.  
  3. --- SMALL CONTAINER ---
  4. width: 14em;
  5. height: 7em;
  6. z-index: 99;
  7.  
  8. --- TEXT ---
  9. padding-top: 20px;
  10. padding-left: 30px;
  11.  
  12. (mobile)
  13. padding-top: 15px;
  14. padding-left: 20px;
  15.  
  16. (Text: Highlight)
  17. padding-left: 11em;
  18.  
  19. --- FLOATING IMAGE ---
  20. filter: drop-shadow(0px 0px 10px #000);
  21. animation-name: floating;
  22. animation-duration: 3s;
  23. animation-iteration-count: infinite;
  24. animation-timing-function: ease-in-out;
  25.  
  26. --- FLOAT CODES ---
  27. <style>
  28. @keyframes floating {
  29. 0% { transform: translate(0, 0px); }
  30. 50% { transform: translate(0, 15px); }
  31. 100% { transform: translate(0, -0px); }
  32. }
  33. </style>
  34.  
  35. *POSITIONING CODES*
  36.  
  37. (please remember that these positioning codes are made to fit my devices, it may look different for you so please adjust it to fit your device)
  38.  
  39. --- SMALL CONTAINER ---
  40. position: absolute;
  41. bottom: 13.5em;
  42. left: 0.5em;
  43.  
  44. --- BEFORE YOU FOLLOW TEXT ---
  45. top: 6em;
  46.  
  47. --- BYF INFO ---
  48. top: 8em;
  49.  
  50. --- DO NOT FOLLOW IF TEXT ---
  51. top: 6.5em;
  52.  
  53. --- DNFI INFO ---
  54. top: 8.8em;
  55.  
  56. --- FLOATING IMAGE ---
  57. position: relative;
  58. left: 10px;
  59.  
  60. --- FAVES TEXT ---
  61. position: absolute;
  62. left: -2.8em;
  63. bottom: -1.2em;
  64.  
  65. --- FAVES INFO ---
  66. top: 0.5em;
  67.  
  68. --- DIVIDER IMAGE ---
  69. position: relative;
  70. top: 5px;
  71.  
  72. --- OTHER INFO ---
  73. top: -0.5em;
  74.  
  75. --- BRATZ DOLL IMAGE ---
  76. position: absolute;
  77. bottom: -4em;
  78. right: -2em;
  79.  
  80. --- MORE TEXT ---
  81. position: relative;
  82. right: 15px;
  83.  
  84. --- SERIES TEXT ---
  85. right: 40px;
  86.  
  87. --- SERIES INFO ---
  88. left: 5.5em;
  89.  
  90. --- WINX FLORA IMAGE ---
  91. position: absolute;
  92. bottom: -3em;
  93. left: -6em;
  94.  
  95. (mobile)
  96. left: -3.5em;
Advertisement
Add Comment
Please, Sign In to add comment