ソースを参照

팝업 정중앙 위치

whakdo963 2 年 前
コミット
062da98e95
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      src/main/webapp/mobile/css/style.css

+ 2 - 2
src/main/webapp/mobile/css/style.css

@@ -16,8 +16,8 @@ body{background: #fff; position: relative; width: 100%; height: auto; font-famil
16 16
 body .login {position:fixed;}
17 17
 .color-gray {color:#aaa;}
18 18
 /* 팝업 */
19
-section .popup {position: absolute; top:0; width: 100%; height: 100%; background: transparent; z-index: 11;}
20
-section .popup .pop {position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 360px; padding-top: 20px; background: #fff; border: 2px solid #000; border-top-left-radius: 10px; border-top-right-radius: 10px;}
19
+section .popup {position: absolute; top:0; width: 100%; height: 100vh; background: transparent; z-index: 11;}
20
+section .popup .pop {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 70%; height: 360px; padding-top: 20px; background: #fff; border: 2px solid #000; border-top-left-radius: 10px; border-top-right-radius: 10px;}
21 21
 section .popup .pop.short {height:260px;}
22 22
 section .popup .pop label.pop_label {position:relative; top:10px; font-size: 16px;}
23 23
 section .popup .pop div.pop_msg {padding:0 5%; text-align:left; position:relative; top:10px; font-size: 16px;}