分离css代码
This commit is contained in:
parent
42cc5655da
commit
e9a50777df
@ -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
13
public/style.css
Normal file
@ -0,0 +1,13 @@
|
||||
button {
|
||||
padding: 0.5rem;
|
||||
color: lightgray;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.player1 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.player2 {
|
||||
color: red;
|
||||
}
|
Loading…
Reference in New Issue
Block a user