@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .notification { position: fixed; right: 20px; bottom: 20px; z-index: 1050; /* Ensure it's above other content */ margin-bottom: 20px; /* Adjust based on size and desired spacing */ animation: fadeIn 1s ease-out; /* Use the fadeIn animation, lasts 1 second */ } .notif-back { background-color: aliceblue; }