2

How to do that? I'd like to make the child div visible when parent div have overflow:hidden property...

Demo: http://jsfiddle.net/qDVvC/33/

html:

<div id="parent">
    <div class="container" id="hidden">
        <div id="test">totototot</div>
    </div>
</div>

css:

 #parent {
        width:200px;
        height:200px;
        border:1px solid red;
        margin:10px;
        position:relative;
    }
    .container {
        position:absolute;
        top:0;
        left:0;
        bottom:0;
        right:0;
    }
    #hidden {
        overflow:hidden;
    }
    #hidden div {
        border:1px solid blue;
        width:50px;
        height:50px;
        position:absolute;
        top:90%;
        left:-10%;
    }
    #test {
        display:block;
    }
daniel__
  • 11,633
  • 15
  • 64
  • 91
Recif
  • 311
  • 2
  • 8
  • 19

0 Answers0