Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 引导4网格系统div在崩溃时消失_Jquery_Html_Css_Twitter Bootstrap_Twitter Bootstrap 3 - Fatal编程技术网

Jquery 引导4网格系统div在崩溃时消失

Jquery 引导4网格系统div在崩溃时消失,jquery,html,css,twitter-bootstrap,twitter-bootstrap-3,Jquery,Html,Css,Twitter Bootstrap,Twitter Bootstrap 3,大家好,我正试图使引导网格系统中的多行在彼此和它的工作良好,直到它崩溃到移动的大小。当它为移动设备折叠时,我的一个div消失了。它基本上成为我屏幕右侧较大div的一部分。问题从屏幕大小768px开始。下面是代码: HTML: 这是代码笔,您可以更好地理解我的问题您的div会消失,因为您只使用了col-md-6。对于小型设备的响应,请使用col xs-* #更改图像悬停{ 填充:0; 保证金:0; .行{ 保证金:0; 填充:0; .col-md-7{ 光标:指针; 填充:0; 保证金:0;

大家好,我正试图使引导网格系统中的多行在彼此和它的工作良好,直到它崩溃到移动的大小。当它为移动设备折叠时,我的一个div消失了。它基本上成为我屏幕右侧较大div的一部分。问题从屏幕大小
768px开始。下面是代码:
HTML:


这是代码笔,您可以更好地理解我的问题

您的div会消失,因为您只使用了
col-md-6
。对于小型设备的响应,请使用
col xs-*


#更改图像悬停{
填充:0;
保证金:0;
.行{
保证金:0;
填充:0;
.col-md-7{
光标:指针;
填充:0;
保证金:0;
高度:800px;
img{
高度:400px;
宽度:100%;
}
h3{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:25px;
位置:绝对位置;
最高:50%;
左:19.5%;
转换:翻译(-19.5%,-50%);
}
p{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:14px;
填充:0;
保证金:0;
位置:绝对位置;
最高:56%;
左:35%;
转换:翻译(-35%,-60%);
}
.容器液体{
填充:0;
保证金:0;
}
.改变形象{
高度:400px;
}
.col-md-6{
填充:0;
保证金:0;
h3{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:20px;
位置:绝对位置;
最高:50%;
左:38%;
转换:翻译(-38%,-50%);
}
p{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:14px;
填充:0;
保证金:0;
位置:绝对位置;
最高:56%;
左:19%;
转换:翻译(-17%,-50%);
}
跨度{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:14px;
填充:0;
保证金:0;
位置:绝对位置;
最高:54%;
左:36%;
转换:翻译(-36%,-54%);
}
}
}
.col-md-5{
高度:800px;
填充:0;
保证金:0;
img{
高度:800px;
宽度:100%;
}
}
}
}
wwwwwwwwwwwwww
asdasdasdasd

asdddddddddddd 阿斯达斯达斯德 阿斯达斯达萨德


您的div将消失,因为您只使用了
col-md-6
。对于小型设备的响应,请使用
col xs-*


#更改图像悬停{
填充:0;
保证金:0;
.行{
保证金:0;
填充:0;
.col-md-7{
光标:指针;
填充:0;
保证金:0;
高度:800px;
img{
高度:400px;
宽度:100%;
}
h3{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:25px;
位置:绝对位置;
最高:50%;
左:19.5%;
转换:翻译(-19.5%,-50%);
}
p{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:14px;
填充:0;
保证金:0;
位置:绝对位置;
最高:56%;
左:35%;
转换:翻译(-35%,-60%);
}
.容器液体{
填充:0;
保证金:0;
}
.改变形象{
高度:400px;
}
.col-md-6{
填充:0;
保证金:0;
h3{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:20px;
位置:绝对位置;
最高:50%;
左:38%;
转换:翻译(-38%,-50%);
}
p{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:14px;
填充:0;
保证金:0;
位置:绝对位置;
最高:56%;
左:19%;
转换:翻译(-17%,-50%);
}
跨度{
字体系列:“蒙特塞拉特”,无衬线;
字体大小:粗体;
字体大小:14px;
填充:0;
保证金:0;
位置:绝对位置;
最高:54%;
左:36%;
转换:翻译(-36%,-54%);
}
}
}
.col-md-5
<section id="changeImageHover" class="container-fluid">
<div class="row">
 <div class="col-md-7">
  <div class="container-fluid topLayer changeImageOne">
    <img src="https://placebear.com/716/400" alt="white image">
    <h3>wwwwwwwwwwwwww</h3>
    <p>asdasdasdsadasd</p>
  </div>
  <div class="row bottomLayer">
    <div class="col-md-6 changeImageTwo">
      <img src="https://placebear.com/358/400" alt="mouth">
      <span>asdddddddddd</span>
    </div>
    <div class="col-md-6 changeImageThree">
      <img src="https://placebear.com/358/400" alt="blue image">
      <h3>asdasdasd</h3>
      <p>asdasdasdsad</p>
    </div>
  </div>
 </div>

 <div class="col-md-5">
  <img id="changeThisImage" src="https://placebear.com/511/800" alt="girl pink background">
 </div>
</div>
</section>
#changeImageHover {
    padding: 0;
    margin: 0;
    .row {
        margin: 0;
        padding: 0;
        .col-md-7{
            cursor: pointer;
            padding: 0;
            margin: 0;
            height: 800px;
            img {
                height: 400px;
                width: 100%;
            }
            h3 {
                font-family: 'Montserrat', sans-serif;
                font-weight: bold;
                font-size: 25px;
                position: absolute;
                top: 50%;
                left:19.5%;
                transform: translate(-19.5%,-50%);
            }
            p {
                font-family: 'Montserrat', sans-serif;
                font-weight: bold;
                font-size: 14px;
                padding: 0;
                margin: 0;
                position: absolute;
                top: 56%;
                left:35%;
                transform: translate(-35%,-60%);
            }
            .container-fluid {
                padding: 0;
                margin: 0;
            }
            .changeImageThree {
                height: 400px;
            }
            .col-md-6 {
                padding: 0;
                margin: 0;
                h3 {
                    font-family: 'Montserrat', sans-serif;
                    font-weight: bold;
                    font-size: 20px;
                    position: absolute;
                    top: 50%;
                    left: 38%;
                    transform: translate(-38%,-50%);
                }
                p {
                    font-family: 'Montserrat', sans-serif;
                    font-weight: bold;
                    font-size: 14px;
                    padding: 0;
                    margin: 0;
                    position: absolute;
                    top: 56%;
                    left:19%;
                    transform: translate(-17%,-50%);
                }
                span {
                    font-family: 'Montserrat', sans-serif;
                    font-weight: bold;
                    font-size: 14px;
                    padding: 0;
                    margin: 0;
                    position: absolute;
                    top: 54%;
                    left:36%;
                    transform: translate(-36%,-54%);
                }
            }
        }
        .col-md-5 {
            height: 800px;
            padding: 0;
            margin: 0;
            img {
                height: 800px;
                width: 100%;
            }
        }
    }
}