Line 17: | Line 17: | ||
.modal { | .modal { | ||
display: none; /* Hidden by default */ | display: none; /* Hidden by default */ | ||
− | position: | + | position: fixed; /* Stay in place */ |
z-index: 1; /* Sit on top */ | z-index: 1; /* Sit on top */ | ||
padding-top: 100px; /* Location of the box */ | padding-top: 100px; /* Location of the box */ | ||
Line 70: | Line 70: | ||
.close { | .close { | ||
position: absolute; | position: absolute; | ||
− | top: | + | top: 15px; |
right: 35px; | right: 35px; | ||
color: #f1f1f1; | color: #f1f1f1; |
Revision as of 20:06, 10 August 2018
×