谷歌地图的div我有这种情况发送回
试图登录时,弹出出来。我想这是继谷歌地图的div
所以,这是我的弹出
.popup-inner {
max-width:500px;
width:90%;
padding:40px;
position:absolute;
top:50%;
left:50%;
-webkit-transform:translate(-50%, -50%);
transform:translate(-50%, -50%);
box-shadow:0px 2px 6px rgba(0,0,0,1);
border-radius:3px;
background:#fff;
z-index:9999999;
的风格,同时背部变得
.popup {
width:100%;
height:100%;
display:none;
position:fixed;
top:0px;
left:0px;
background:rgba(0,0,0,0.75);
}
,这是弹出
<div class="popup" data-popup="popup-1">
<div class="popup-inner">
<form action="#" th:action="@{/}" method="post" class="form-signin">
<div class="form-group">
//content of the form...
</div>
</form>
<p>
<a data-popup-close="popup-1" href="#">Close</a>
</p>
<a class="popup-close" data-popup-close="popup-1" href="#">x</a>
</div>
</div>
这张地图有一个简单的,而流行的
<div id="map"></div>
这种风格
#map {
width:100%;
height: 600px;
z-index: 1;
}
你为什么不把'map'内'popup'格? – mxr7350
,因为弹出窗口出现在应用程序的每个页面中,不仅在这个地图上,所以它被Thymeleaf片段 – besmart