Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
97 views
in Technique[技术] by (71.8m points)

html - Apply a filter on a div just using Bootstrap

I have two columns in bootstrap. A button in one column opens a menu in the other column and applies a filter over the second column. This is the code.

<!-- 
  Bootstrap docs: https://getbootstrap.com/docs
-->

<div class="container">
  <div class="row">
   <div class="col-sm-6 bg-success">
   <button class="btn btn-warning" data-toggle="collapse" data-target="#module" aria-expanded="false" aria-controls="module">
     Bring module
   </button>
   <br>
     Some text
   </div>
  
   <div class="col-sm-6 bg-primary">
    <div id="module" class="collapse">
     Some module
   </div>
     <div class="sd">
       Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries
     </div>
   </div>
  </div>
</div>

CSS

#module{
  position: absolute;
  background-color: white;
  z-index: 9999;
}

I want to blur the <div class="sd"> on the expansion of the #module div. WITHOUT USING JS OR JQUERY

I also want it to look like the #module is expanding from the button (not top to down, as is now).

question from:https://stackoverflow.com/questions/65871373/apply-a-filter-on-a-div-just-using-bootstrap

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...