css - Chrome drop-shadow box appears over div -


i'm trying make shadow appear under div. far works on except chrome/chromium. put div draws shadows isn't shown should, though z-index property set shadow appears over div. html looks that:

<body>   <div id="header" class="box clear">     <div id="logo">        <img class="obraz_srodek" src="http://ocento.hol.es/tz/logotyp.png" title="ocentologotype"/>      </div>  </div> <div class="content">// javascript/jquery soon</div>​​​ <div id="test">padding test</div>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ 

my css file that:

body { background-image:url('bg.jpg'); background-repeat: repeat; }  html{   height: 100%;   width: 98%;     padding:0;     margin:0; } body {   min-height: 100%;   min-width:98%;  }  .content{     padding-top:55px;  }  .obraz_srodek {     overflow:hidden;     height:25px;     display: block;     margin-left: auto;     margin-right: auto;     padding-top:7px;  } #header {     position: fixed;     background-color: white;     min-height: 40px;     min-width: 100%;     top: 0px;     left: 0px;   }  .box {   position: relative;    background-color: #fff;   box-shadow: 0 0px 5px rgba(0,0,0,0.25), 0 0 5px rgba(0,0,0,0.1) inset;   border-radius: 1%     1%     1%     1% /     1%     1%     1%     1%; } .box:after {       position: absolute;       width: 80%;       height: 40%;       left: 10%;       border-radius: 50%;       z-index: -4;       bottom: 0%;       content: "";       box-shadow: 0 7px 16px rgba(0,0,0,0.4);       } 

somethings ? moved div.box effect, chrome cant you're method jsfiddle here

<div id="header" class="clear">     <div class="box">         <div id="logo">             <img class="obraz_srodek" src="http://ocento.hol.es/tz/logotyp.png" title="ocentologotype"/>          </div>     </div> </div> 

Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -