Skip to content

Commit

Permalink
Update style2.css
Browse files Browse the repository at this point in the history
  • Loading branch information
MayankTomar21 authored Jan 3, 2024
1 parent 2836e8b commit cf2db7c
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions style2.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,87 @@ button span:after {
right: -20px;
transition: 0.5s;
}
body{
background-color: #dfecf7;
}

.container{
max-width: 600px;
margin: 0 auto;
}

.comment-box {
background-color: #fff;
padding: 40px;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.comment-title {
font-size: 36px;
text-align: center;
margin-bottom: 30px;
color: #fff;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
color: #fff;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
width: 100%;
padding: 10px;
border-radius: 5px;
border: none;
font-size: 16px;
transition: background-color 0.3s;
background-color: #f2f2f2;
color: #333;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
background-color: #fff;
}

.btn-submit {
background-color: #005aaa;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}

.btn-submit:hover {
background-color: #003366;
}

.gradient-bg {
background: linear-gradient(to bottom, #003366, #005aaa);
}

.gradient-bg .btn-submit {
background-color: #fff;
color: #005aaa;
border: 2px solid #fff;
transition: background-color 0.3s, color 0.3s;
}

.gradient-bg .btn-submit:hover {
background-color: #005aaa;
color: #fff;
}

0 comments on commit cf2db7c

Please sign in to comment.