.shade{ width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; z-index: 5000; background: #000; opacity: 0.7; } 更多遮罩的CSS樣式相關文章請關注PHP中文網!