Multi-step_Form/style.css
2024-12-27 12:36:45 +05:30

131 lines
2.4 KiB
CSS

body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(#FAF6E3, #D8DBBD, #B59F78);
height: 100vh;
width: 100vw;
}
html
{
scroll-behavior: smooth;
}
input, select, button {
border: 1px solid #ccc;
border-radius: 8px;
padding: 10px;
margin: 10px 0;
width: 100%;
box-sizing: border-box;
font-size: 16px;
}
input::placeholder {
font-size: 14px;
color: #888;
}
.form-container {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
width: 75%;
max-width: 600px;
display: flex;
flex-direction: column;
}
#gender {
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
gap: 20px;
}
.step {
display: none;
}
.step.active {
display: block;
}
#btn-div {
padding: 20px;
display: flex;
justify-content: space-between;
width: 100%;
}
#prev-btn, #next-btn, #submit-btn, #refresh-btn {
background-color: rgb(57, 57, 220);
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
cursor: pointer;
max-width: 150px;
transition: background-color 0.3s ease;
margin-right: 35px;
}
#prev-btn:hover, #next-btn:hover, #submit-btn:hover, #refresh-btn:hover {
background-color: rgb(13, 13, 242);
transform: translateY(2px);
}
fieldset {
border: 1px solid #ccc;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
}
legend {
font-size: 18px;
font-weight: bold;
}
h2 {
text-align: center;
margin-bottom: 20px;
}
.skills label {
display: inline-block;
margin-bottom: 10px;
}
#review button {
background-color: #f17e13;
color: white;
border: none;
border-radius: 5px;
padding: 8px 15px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
margin-top: 10px;
max-width: 85px;
}
#review button:hover {
background-color: #ec971f;
transform: translateY(-2px);
}
#review button:focus {
outline: none;
}
#review button:active {
transform: translateY(2px);
}