first commit
This commit is contained in:
40
gameboard.html
Normal file
40
gameboard.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<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>
|
||||
<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>
|
||||
Reference in New Issue
Block a user