123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- * {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
- body {
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
- sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
-
- code {
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
- monospace;
- }
-
- .container {
- align-items: center;
- display: flex;
- height: 100vh;
- justify-content: center;
- width: 100vw;
- }
-
- .row {
- height: 30px;
- }
-
- .cell {
- border: 1px solid black;
- border-right: none;
- border-bottom: none;
- display: inline-block;
- height: 30px;
- width: 30px;
- }
-
- .row:last-child .cell {
- border-bottom: 1px solid black;
- }
-
- .cell:last-child {
- border-right: 1px solid black;
- }
-
- .cell.alive {
- background: black;
- }
|