0
위로 설정하면 모달의 top
을 설정하려고합니다. #singlePost
모달이 트리거 없이도 표시됩니다. $('#singlePost').css("top", "1%");
시도했지만 작동하지 않습니다 또한 이것을 github에서 시도했습니다 github 어떤 해결책이 있습니까?모달을 최상위로 설정하는 방법은 무엇입니까?
<div id="singlePost" class="modal" >
<div class="modal-content">
<div class="row">
<div class="col m9 s12">
<img class="input-field" ng-src="img/cover.jpeg" alt="" >
</div>
</div>
</div>
CSS
#singlePost
{
background-color: #f7f8fa;
width:90%;
height:90% !important;
display: table !important;
}
스크립트 내가 endingTop
을 변경하고 startingTop
하고 일하고있어 제거 githubstartingTop
나를 위해 일하지이 문제에도 불구하고
$('#singlePost').modal('open', {
dismissible: true,
inDuration: 200,
outDuration: 100
});