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

Send button improved #4

Open
wants to merge 3 commits into
base: master
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
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<footer>
<div class="sendBar">
<input id="inputMSG" onkeypress="isEnter(event)" type="text" placeholder="Type a message" autofocus>
<svg onclick="sendMsg()" viewBox="0 0 24 24" width="24" height="24" class="">
<svg id="send-button" onclick="sendMsg()" viewBox="0 0 24 24" width="24" height="24" class="">
<path fill="currentColor"
d="M1.101 21.757 23.8 12.028 1.101 2.3l.011 7.912 13.623 1.816-13.623 1.817-.011 7.912z"></path>
</svg>
Expand Down
11 changes: 11 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,17 @@ footer{
border-color: transparent;
}

#send-button{
cursor: pointer;
}

#send-button:active {
transform: translateY(2px);
}

#send-button:active path{
fill: grey;
}

::placeholder {
color: #8696a0;
Expand Down