[Solved] Copy header style from another site


So i tried Modifying the code and change the background to red and it works fine. i think the path of your image is the problem

.main{
    width: 100%;
    position: relative;
}
header{
    text-align: center;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.bg{
    background:red;
    width: 2560px;
    height: 1354px;
    background-size: 2560px 1354px;
    background-repeat: no-repeat;
    position: relative;
    margin-left: -1280px;
    left: 50%;
}
<div class="main">
  <header>
    <div class="bg"></div>  
  </header>  
</div>  

solved Copy header style from another site