Can someone help me with centering a div block on the screen?
.pop-up{
width: 850px;
height: 640px;
z-index: 10;
left: 20%;
position: fixed;
top:1%;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
I just realized, it should actually be position:absolute;
.