Files

48 lines
871 B
CSS

/* Style for the body element */
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
/* Style for the h1 element */
h1 {
color: #333;
}
/* Style for the label, input, and button elements */
label, input, button {
margin: 10px 0;
}
/* Style for the input and button elements */
input, button {
padding: 10px;
font-size: 16px;
}
/* Style for the button element */
button {
background-color: #007BFF;
color: white;
border: none;
cursor: pointer;
}
/* Style for the button element when hovered */
button:hover {
background-color: #0056b3;
}
/* Style for the paragraph displaying the result */
#fibonacciResult {
margin-top: 20px;
font-size: 18px;
color: #555;
}