Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change hover effect #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ section {
font-size: 15px;
font-weight: 500;
}

.btn1:hover{
background-color: green;
color: white;
}
i {
color: green;
}
Expand Down Expand Up @@ -183,6 +186,9 @@ i {
.search-form.active {
transform: translateY(0%);
}
.search-btn:hover{
color: green;
}

#close-search {
position: absolute;
Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ <h1>Contact us</h1>
<form method = "post" action = "contact_us.php">
<div class="input-fields">

<input type="text" class="input" placeholder="Name" name="name">
<input type="email" class="input" placeholder="Email Address" name="email" pattern=".+@gmail\.com">
<input type="phone" class="input" placeholder="Phone" name="phone">
<input type="text" class="input" placeholder="Subject" name="subject">
<input type="text" class="input" placeholder="Name" name="name" required>
<input type="email" class="input" placeholder="Email Address" name="email" pattern=".+@gmail\.com" required>
<input type="phone" class="input" placeholder="Phone" name="phone" required>
<input type="text" class="input" placeholder="Subject" name="subject" required>
</div>
<div class="msg">
<textarea placeholder="Message" name="message"></textarea> <br>
<textarea placeholder="Message" name="message" required></textarea> <br>
<div class="btn1"><button type="submit">send <i class="uil uil-message"></i></div>
</div>
</form>
Expand Down