Advertisement
Guest User

Untitled

a guest
May 1st, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.92 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <style>
  4.  
  5.  
  6. body{
  7.  
  8.     background-image:url("[BACKGROUND IMAGE.]");
  9. }
  10.  
  11. div {
  12.     position: relative;
  13.     -webkit-animation-name: example; /* Chrome, Safari, Opera */
  14.     -webkit-animation-duration: 4s; /* Chrome, Safari, Opera */
  15.     animation-name: example;
  16.     animation-duration: 4s;
  17. animation-iteration-count: infinite;
  18.  
  19. }
  20.  
  21. /* Chrome, Safari, Opera */
  22. @-webkit-keyframes example {
  23.     0%   {top:0px;}
  24.    
  25.     50%  {top:20px;}
  26.    
  27.     100% {top:0px;}
  28. }
  29.  
  30.  
  31.  
  32. #pronouns {
  33. animation-direction: reverse;
  34.  
  35. }
  36.  
  37.  
  38. </style>
  39.  
  40. <body>
  41. <img style="position:absolute; left:350px; z-index: +1;" src="[STATIC IMAGE OF CHARACTER]">
  42. <div id="name">
  43. <img src="[NAME OF CHARACTER AS FLOATING IMAGE]" />
  44. </div>
  45.  
  46. <div style="left:700px; z-index: +2;" id="pronouns">
  47. <img src="[OTHER FLOATING IMAGE. GENDER? PRONOUNS? WHATEVER YOU WANT]">
  48.  
  49. </div>
  50.     <footer>code by matto :^)</footer>
  51. <body>
  52.  
  53. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement