I have a div with the following css code:
.popup{
width: 50%;
margin: auto;
display: none;
animation-name: popup;
animation-duration: 0.15s;
position: fixed;
background-color: #cf5c36;
}
And I can't figure out how to center it. All the advice I can find involves changing the display, or doesn't work with display: none;
. Does anyone know how I could go about it it?