Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <html>
  8. <head>
  9. <title>TODO supply a title</title>
  10. <meta charset="UTF-8">
  11. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12.  
  13. <style>
  14.  
  15. p
  16. {
  17. position:absolute;
  18. font-size:100px;
  19. margin:0px;
  20. mix-blend-mode: difference;
  21. }
  22.  
  23. p:nth-child(1)
  24. {
  25. top:100px;
  26. color:green;
  27. }
  28.  
  29. p:nth-child(2)
  30. {
  31. top:100px;
  32. font-size:300px;
  33. color:red;
  34. }
  35.  
  36. p:nth-child(3)
  37. {
  38. top:230px;
  39. font-size:180px;
  40. color:blue;
  41. }
  42.  
  43. p:nth-child(4)
  44. {
  45. top:300px;
  46. font-size:180px;
  47. color:purple;
  48. }
  49. div
  50. {
  51. width:300px;
  52. margin-left:auto;
  53. margin-right:auto;
  54. }
  55.  
  56. </style>
  57.  
  58. </head>
  59. <body>
  60. <div>
  61. <p>Welcome</p>
  62. <p>To</p>
  63. <p>My</p>
  64. <p>Gaff</p>
  65. </div>
  66. </body>
  67. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement