This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sandglass{ | |
box-sizing: border-box; | |
width: 90%; | |
max-width: 400px; | |
margin: 100px auto; | |
position: relative; | |
user-select: none; | |
} | |
.sandglass::after{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.settings-row{ | |
display: flex; | |
flex-direction: column; | |
align-items: flex-start; | |
row-gap: 8px; | |
padding: 12px; | |
margin: 12px 0; | |
background-color: #eee; | |
} | |
.label-input{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button id="bt-start">降らせる</button> | |
<button id="bt-stop">止める</button> | |
<script src="pathto/raining-particles.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#quiz{ | |
display: flex; | |
flex-direction: column; | |
box-sizing: border-box; | |
height: 90vh; | |
border: 2px solid #777; | |
background-color: #fff; | |
-webkit-tap-highlight-color: transparent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.settings-row{ | |
margin: 12px 0; | |
} | |
#sel-width,#sel-height{ | |
width: 60px; | |
} | |
#bt-make{ | |
cursor: pointer; | |
} | |
/* */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.img-sample{ | |
width: 150px; | |
border: 1px solid #777; | |
} | |
/* */ | |
.block{ | |
box-sizing: border-box; | |
padding: 16px; | |
margin: 20px 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#input{ | |
display: block; | |
width: 100%; | |
height: 100px; | |
resize: vertical; | |
font-size: 16px; | |
} | |
.settings{ | |
margin: 8px 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"question": "次のうち、あ行のひらがなはどれでしょうか?", | |
"answers": [ | |
"か","そ","16","う","亜" | |
], | |
"index-answer": 3 | |
}, | |
{ | |
"question": "0から100までの整数を全てかけると答えは?", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
:root{ | |
--main-color: #0288D1; | |
--sub-color: #B3E5FC; | |
--attention-color: #D32F2F; | |
--correct-color: #D32F2F; | |
--wrong-color: #303F9F; | |
} | |
#quiz{ | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- head内 --> | |
<link rel="stylesheet" href="pathto/quiz-maker.css"> | |
<style> | |
#bt-start{ | |
display: block; | |
margin: 30px auto; | |
cursor: pointer; | |
} | |
#bt-start.s-hide{ | |
display: none; |