Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <style> 
    td { width: 28px; height: 28px; background: white; border: 1px solid black; cursor: pointer;} 
    table { border-collapse: collapse; margin-right: -1px;}
    button { display: inline-block; width: 120px; margin-top: 20px; padding: 5px 0; border: 2px solid #dadada; border-radius: 5px; text-align: center; cursor: pointer;}
    button:hover {background: #f2e41f; }
    .black { background: black; }
    .conversely td { background: black; }
    .conversely .black { background: white; }
  </style> 
</head>
<body>
  <button id="btn-for-table">Поменять цвета</button>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers