I am trying to customize the alignment of my toast messages to the bottom left corner. Ideally, I want them to stack on top of each other with a small gap of 10px between each message, ensuring that they are all visible and readable. Currently, changing the position attribute to anything other than "fixed" causes the messages to appear on top of each other, losing the padding width. When set to "fixed," the messages overlap. Any suggestions for resolving this issue would be greatly appreciated. Thank you!
.success{
display: block;
position: fixed;
bottom: 0;
margin-bottom: 10px;
margin-left: 4%;
font-family: Arial;
padding: 15px;
background-color: forestgreen;
color: #FFFFFF;
border-radius: 4px;
text-align: center;
z-index: 2;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.info{
display: block;
position: fixed;
bottom: 0;
margin-bottom: 10px;
margin-left: 4%;
font-family: Arial;
padding: 15px;
background-color: blue;
color: #FFFFFF;
border-radius: 4px;
text-align: center;
z-index: 2;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
}