Build Your Own RPG Game: HTML Template and Guide
<!DOCTYPE html>
<html>
<head>
<title>RPG Game</title>
<style>
body {
background-color: #252525;
color: #f2f2f2;
}
.game {
width: 600px;
margin: 0 auto;
padding: 0 20px;
}
.game-title {
font-size: 40px;
font-weight: bold;
text-align: center;
}
.game-actions {
margin-top: 20px;
}
.game-actions a {
display: block;
background-color: #f2f2f2;
border: 1px solid #252525;
padding: 10px 20px;
color: #252525;
text-decoration: none;
font-size: 16px;
margin-bottom: 10px;
}
.game-actions a:hover {
background-color: #252525;
color: #f2f2f2;
}
</style>
</head>
<body>
<div class='game'>
<h1 class='game-title'>RPG Game</h1>
<div class='game-actions'>
<a href='#'>Create Character</a>
<a href='#'>Load Character</a>
<a href='#'>Start Game</a>
</div>
</div>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/lnvB 著作权归作者所有。请勿转载和采集!