我用的是物化设计。我正在实施全屏模式。宽度用在全屏幕上,而高度没有在全屏幕上设置。我看到了一个链接,然后我想这样实现。如果任何插件和任何其他解决方案,那就让我知道。
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
<script src="https:/
我无法在小型设备上进行模态窗口滚动。Jsfiddle
点击文本"Scopri来“打开模态窗口。
也许js代码出了什么问题?
‘’//得到模态变量= document.getElementById("myModal");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElements