This repository has been archived on 2026-01-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Blocks-Game/gameboard.html

45 lines
1.1 KiB
HTML

<style>
body {
background-color: #1d1e22;
}
#wrapper {
max-width: 1200px;
margin: 30px auto;
padding: 0 20px;
width: 100%;
display: grid;
grid-auto-rows: 100px;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
grid-gap: 1em;
}
.card {
border-radius: 10px;
padding: 20px;
color: rgb(255, 255, 255);
background-color:rgb(0, 94, 165);
}
.card:hover {
box-shadow: 0 0 10px purple;
}
/*
.card:nth-child(odd) {
background-color: #55BBE9;
}
.card:nth-child(even) {
background-color: #afbe29;
}*/
</style>
<script src="../scripts/jquery-3.4.1.min.js"></script>
<div id="wrapper">
<div id="test-group">
</div>
</div>
<button type="button" style="position:fixed" onclick="initiate()">initiate</button>
<button type="button" style="position:fixed; right: 300px;" onclick="clear_playground()">Clear</button>
<div id="alerted"></div>