Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5. <link ref="stylesheet" type="text/css" src="style.css">
  6. <style id="jsbin-css">
  7. div {
  8. width: 150px;
  9. height: 150px;
  10. border: 2px solid black;
  11. display: inline-block;
  12. margin: 20px;
  13. }
  14.  
  15. #name {
  16. background: black;
  17. }
  18.  
  19. #hex {
  20. background: #000000;
  21. }
  22.  
  23. #rgb {
  24. background: rgb(0,0,0, 0.2);
  25. }
  26. </style>
  27. </head>
  28.  
  29. <body>
  30. <div id="name"></div>
  31. <div id="hex"></div>
  32. <div id="rgb"></div>
  33.  
  34.  
  35. <script id="jsbin-source-css" type="text/css">div {
  36. width: 150px;
  37. height: 150px;
  38. border: 2px solid black;
  39. display: inline-block;
  40. margin: 20px;
  41. }
  42.  
  43. #name {
  44. background: black;
  45. }
  46.  
  47. #hex {
  48. background: #000000;
  49. }
  50.  
  51. #rgb {
  52. background: rgb(0,0,0, 0.2);
  53. }</script>
  54. </body>
  55.  
  56. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement