react 조건문

This commit is contained in:
haerong22
2020-12-23 17:08:25 +09:00
parent fbdbcaa48c
commit 5a0f515d67
13 changed files with 6240 additions and 2 deletions

View File

@@ -2,6 +2,24 @@
<head>
<meta charset="utf-8"/>
<title>숫자야구</title>
<style>
#screen {
width: 300px;
height: 200px;
text-align: center;
user-select: none;
}
#screen.waiting {
background-color: aqua;
}
#screen.ready {
background-color: red;
color: white;
}
#screen.now {
background-color: greenyellow;
}
</style>
</head>
<body>
<div id="root"></div>