Is it possible to create differently overflowed children with css? -


lets have div a, contains n div elements n..b,c; div a scroll bars every single element (overflow: scroll), except element c should overflow: visible.

can using css?

to make things more clear trying achieve https://jsfiddle.net/gm6cgyqp/ except fact fixed not responding scroll. trying achieve same feeling native select using bootstrap dropdown , how met kind of issue.

yes, can done. set max-height , max-width div want scrollbar.

.wrap {    width: 100%;  }  .a,  .b,  .c,  .d {    max-width: 20%;    overflow: scroll;    display: inline-block;    max-height: 100px;  }  .e {    overflow: visible;    width: 20%;  }
<div class="wrap">    <div class="a">      lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. has      survived not 5 centuries, leap electronic typesetting, remaining unchanged. popularised in 1960s release of letraset sheets containing lorem ipsum passages, , more desktop publishing      software aldus pagemaker including versions of lorem ipsum.    </div>    <div class="b">      lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. has      survived not 5 centuries, leap electronic typesetting, remaining unchanged. popularised in 1960s release of letraset sheets containing lorem ipsum passages, , more desktop publishing      software aldus pagemaker including versions of lorem ipsum.    </div>    <div class="c">      lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. has      survived not 5 centuries, leap electronic typesetting, remaining unchanged. popularised in 1960s release of letraset sheets containing lorem ipsum passages, , more desktop publishing      software aldus pagemaker including versions of lorem ipsum.    </div>    <div class="d">      lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. has      survived not 5 centuries, leap electronic typesetting, remaining unchanged. popularised in 1960s release of letraset sheets containing lorem ipsum passages, , more desktop publishing      software aldus pagemaker including versions of lorem ipsum.    </div>    <div class="e">      lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. has      survived not 5 centuries, leap electronic typesetting, remaining unchanged. popularised in 1960s release of letraset sheets containing lorem ipsum passages, , more desktop publishing      software aldus pagemaker including versions of lorem ipsum.    </div>  </div>


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -