我已经创建了一个button,当我点击button,然后是popup模型显示,但是它会隐藏在页面正文旁边,按钮也会在我滚动时隐藏。我想当弹出窗口出现时,我无法滚动页面正文。我已经创建了使用bootstrap.Here的模型弹出屏幕截图
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
wid
我有一个使用CSS3的小动画齿轮,但我希望它里面的文本保持不动。将位置更改为绝对或固定不起作用,并且我不确定如何继续。
我的HTML是:
<div class="port">
<h1 class="portTitle">Test</h1>
<p id="portText">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec lectus ipsum, pulvinar vel molestie facilisis, p