S
S
smoklew2015-10-06 16:37:03
css
smoklew, 2015-10-06 16:37:03

Why isn't the entire wrapper covered by the shadow?

The shadow does not cover the entire wrapper:
97b9417dbbd71913e193f890cec01697.png
I suspect that this is due to the slider...
Here are the main styles (I can't throw it on JSfiddle because everything is fine there, because the slider does not work...):

.wrapper
  {
  width:100%;
  max-width:980px;
  margin:0 auto;
  box-shadow:0px 0px 40px #000;
  }
  .header
  {
  overflow:hidden;
  display:flex;
  }
  .logo-description
  {
  margin-top:30px;
  font-family: Georgia;
  font-size: 1.2em;
  font-style:italic;
  font-weight:100;
  color:#838383;
  }
  .logo > img
  {
  float:left;
  height:auto;
  }
  .navigation
  {
  text-align:center;
  margin-top:25px;
  padding:10px 0px;
  border-radius:3px;
  background:#00a100;
  }
#fader {
 position: relative;
 width: 90%;
 max-width: 980px;
 margin: 0 auto;
 top: 15px;  
}

#fader img {
 position: absolute;
 top: 0;
 left: 0;
 max-width: 100%;
 height: auto;
 border-radius:5px;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Goryachev, 2015-10-06
@webirus

And do not want to explain how it SHOULD be?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question