Hey there, I am currently working on developing a Connect 4 game and have decided to use a table for the board. To position the board properly, I am utilizing flexbox. Although I have specified align-items as 'flex-end' in order to bring it to the bottom of the page, it seems to be causing some issues. Any assistance on this matter would be highly appreciated :)
html, body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: flex-end;
}
table {
margin: auto;
background-color: blue;
}
td {
border: 1px solid red;
width: 100px;
height: 100px;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Connect Four</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="board-wrapper">
<table>
<tr class="row-1">
<td class="column-1"></td>
<td class="column-2"></td>
<td class="column-3"></td>
<td class="column-4"></td>
<td class="column-5"></td>
<td class="column-6"></td>
<td class="column-7"></td>
</tr>
</table>
</div>
</body>
</html>