Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Criando um botao de reiniciar #10

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.game {
width: 600px;
width: 600px;
height: 600px;
margin: 0 auto;
background-color: #34495e;
color: #fff;
border: 6px solid #2c3e50;
border-radius: 10px;
background-color: #34495e;
color: #fff;
border: 6px solid #2c3e50;
border-radius: 10px;
display: grid;
grid-template: repeat(3, 1fr) / repeat(3, 1fr);
}
Expand All @@ -19,4 +19,17 @@
display: flex;
justify-content: center;
align-items: center;
}

.btn {
position: absolute;
top:20px;
margin:20px;
padding:15px;
border:none;
border-radius: 0.50rem;
background-color: #34495e;
text-decoration: none;
color:#fff;
font-size:15pt;
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
tic_tac_toe.start();
</script>

<a href="index.html" class="btn">Restart</button>
Diegosny marked this conversation as resolved.
Show resolved Hide resolved
</body>
</html>