Created
June 15, 2023 23:40
-
-
Save OthmanAdi/0e0543e725490c3e3928a49b6d6f37e9 to your computer and use it in GitHub Desktop.
main component style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*the style below was given to the hr tag to style them in a more modern and sleek way*/ | |
.my-separator { | |
border: none; | |
border-top: 1px solid rgba(0,0,0,.1); | |
margin: 20px 0; | |
} | |
/*this is the animation engine that will slide the Chat container from the bottom to its original position*/ | |
.slide-up { | |
animation: slide-up 0.5s forwards; | |
} | |
@keyframes slide-up { | |
0% { | |
transform: translateY(100%); | |
} | |
100% { | |
transform: translateY(0); | |
} | |
} | |
/*This animation is used to fade out the Chatbox when clicking on the closing button*/ | |
.fade-out { | |
animation: fade-out 0.5s forwards; | |
} | |
@keyframes fade-out { | |
0% { | |
opacity: 1; | |
} | |
100% { | |
opacity: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment