#popup-container { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); } #popup { position: absolute; top: 0; right: 0; height: 100%; width: 20%; min-width: 150px; min-width: 200px; background: white; padding: 20px; } .hidden { display: none; } #close-popup { position: absolute; top: 10px; right: 10px; } #dropdown { margin: auto; width: 80%; /* 让