Files
ict-algemeen-opdrachten/JavaScript/raad het getal/style.css

54 lines
839 B
CSS

body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #f0f0f0;
margin: 0;
}
h1 {
color: #333;
}
input, button {
padding: 10px;
margin: 5px;
font-size: 16px;
}
#result {
margin-top: 20px;
font-size: 18px;
color: #555;
}
#confetti-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
overflow: hidden;
}
.confetti {
position: absolute;
width: 10px;
height: 10px;
background-color: #ff0;
animation: fall 3s linear infinite;
}
@keyframes fall {
0% {
transform: translateY(-100vh) rotate(0deg);
}
100% {
transform: translateY(100vh) rotate(360deg);
}
}