UNPKG

react-modalx

Version:
28 lines (26 loc) 495 B
body.modal-open { overflow: hidden; height: 100%; } .ReactModalContainer .backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; } .ReactModalContainer .centering { width: 700px; margin: 0 auto; } .ReactModalContainer .centering .content { position: fixed; width: 700px; z-index: 1001; background-color: white; color: red; top: 100px; padding: 2rem; }