<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style/reset.css" />
<link rel="stylesheet" href="./style/style.css" />
<title>Jokenpo</title>
</head>
<body>
<div class="container">
<header class="header"><h1 class="page-title">Jo-Ken-Po</h1></header>
<main class="main">
<img src="./imgs/jokenpo.png" alt="" class="scr" />
<div class="images">
<button class="btn btn-pedra" onclick="jogar('pedra')">
<div class="opcao">
<img src="./imgs/pedra.png" alt="" class="jo" id="pedra" />
<label for="pedra">Pedra</label>
</div>
</button>
<button class="btn btn-papel" onclick="jogar('papel')">
<div class="opcao">
<img src="./imgs/papel.png" alt="" class="ken" id="papel" />
<label for="papel">Papel</label>
</div>
</button>
<button class="btn btn-tesoura" id="tesoura" onclick="jogar('tesoura')">
<div class="opcao">
<img src="./imgs/tesoura.png" alt="" class="po" id="tesoura" />
<label for="tesoura">Tesoura</label>
</div>
</button>
</div>
<div class="jogada">
<div class="jogada-player">
<span>PLAYER</span>
<img src="" alt="" id="imgP" />
</div>
<div class="jogada-cpu">
<span>CPU</span><img src="" alt="" id="imgC" />
</div>
</div>
<div class="footer"></div>
</main>
</div>
<script src="./js/scripts.js"></script>
</body>
</html>
Eu não sei como subir as imagens, a estrutura do código para vocês verem rodando. Mas ficou tão legal!
body {
font-family: "Roboto Mono", monospace;
min-height: 100vh;
max-height: 100vh;
background-color: antiquewhite;
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
}
.container {
text-align: center;
}
.page-title {
color: #282323;
}
.header{
padding:0
}
.scr {
height: 250px;
}
.main {
}
.images {
display: flex;
flex-direction: row;
justify-content: space-around
}
.jogada {
display: flex;
justify-content: center;
height: 50%;
}
.jogada-player, .jogada-cpu{
display: flex;
width: 350px;
height: 30vh;
justify-content: space-around;
align-items: center;
flex-direction: column;
margin-top: 20px;
}
.opcao {
display: flex;
flex-direction: column;
justify-content: space-around;
}
.opcao label{
font-weight: 600;
color: #282323;
font-size: 20px;
}
span {
font-size: 20px;
font-weight: 600;
text-align: center;
}
.btn {
background-color: transparent;
border: none;
}
.footer {
color: #282323;
}