分离css代码

This commit is contained in:
赵鑫 2022-08-04 22:22:54 +08:00
parent 42cc5655da
commit e9a50777df
2 changed files with 14 additions and 16 deletions

View File

@ -5,23 +5,8 @@
<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.css">
<title>陆战棋游戏</title>
<style>
button {
padding: 0.5rem;
color: lightgray;
cursor: pointer;
}
.player1 {
color: black;
}
.player2 {
color: red;
}
</style>
</head>
<body>

13
public/style.css Normal file
View File

@ -0,0 +1,13 @@
button {
padding: 0.5rem;
color: lightgray;
cursor: pointer;
}
.player1 {
color: black;
}
.player2 {
color: red;
}