Skip to content

Commit

Permalink
MEDIUM: css: Add hover effects on modal & send button
Browse files Browse the repository at this point in the history
  • Loading branch information
20syldev committed Dec 25, 2024
1 parent dc8725b commit 1be755c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*,
*::after,
*::before {
padding: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
Expand Down Expand Up @@ -101,6 +101,10 @@ body {
border-radius: 20px;
width: fit-content;
outline: none;
transition: 0.5s;
}
.modal-input:hover {
border: 2px solid #ffffff33;
}
.modal-input::placeholder {
color: white;
Expand All @@ -109,16 +113,20 @@ body {
/* Send button */
.send {
position: absolute;
background: #819effd3;
background: #6387ffee;
cursor: pointer;
top: 50%;
right: 17.5px;
padding: 5px;
border: none;
height: 25px;
border-radius: 20px;
transition: 0.5s;
transform: translateY(-50%);
}
.send:hover {
background: #89a4ffd3;
}
.send img {
width: 14px;
height: auto;
Expand Down

0 comments on commit 1be755c

Please sign in to comment.