Advertisement
Guest User

Untitled

a guest
Sep 18th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.17 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="pl">
  3. <head>
  4.     <style>
  5.     body
  6. {
  7.     background: #ccc;
  8. }
  9. table
  10. {
  11.     width:  0px;    
  12.     height: 0px;  
  13.     background-color: #fff;
  14. }
  15.  
  16. td
  17. {
  18.     width: 100px;
  19.     height: 100px;
  20. }
  21.  
  22. td img
  23. {
  24.     margin: 0 !IMPORTANT;
  25. }
  26. img
  27. {
  28.     width: 100px;
  29.     height: 100px;
  30.     margin: 4px;
  31. }
  32.  
  33. .lock
  34. {
  35.     width: 0;
  36.     height: 0;
  37. }
  38.  
  39. .norm
  40. {
  41.     width: 100px;
  42.     height: 100px;
  43.     opacity: 1;
  44. }
  45.  
  46. .pod
  47. {
  48.     opacity: 0.5;
  49. }
  50.  
  51. .tbl-green
  52. {
  53.     border: 4px solid green;
  54. }
  55.  
  56. .tbl-red
  57. {
  58.     border: 4px solid red;
  59. }
  60.  
  61. #reka
  62. {
  63.     position: fixed;
  64.     left: 0;
  65.     top: 0;
  66.     width: 30px;
  67. }
  68.  
  69. #reka img
  70. {
  71.     width: 70px;
  72.     height: 70px;
  73. }
  74.     </style>
  75.    
  76.     <meta charset="UTF-8">
  77.     <title>Gra</title>
  78. </head>
  79. <body onload="zaladuj();">
  80.     <table border="1" id="tbl">
  81.        
  82.         <tr><td id="k1" onclick="wstaw(1);"></td><td id="k2" onclick="wstaw(2);"></td></tr>
  83.         <tr><td id="k3" onclick="wstaw(3);"></td><td id="k4" onclick="wstaw(4);"></td></tr>
  84.        
  85.     </table>
  86.    
  87.     <div id="zdjecia"></div>
  88.     <div id="reka"></div>
  89.     <script src="gra.js"></script>
  90. </body>
  91. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement