
chciałbym aby po bokach dodać dodatkowe backgroundy, np z linearem itp żeby się dopasowało po prawej i po lewej aby przy każdej roździelczości było.
Mój kod wygląda tak:
Kod
margin: auto;
background-position: center center;
background-image: url(images/header.png);
background-repeat: no-repeat;
height: 230px;
background-position: center center;
background-image: url(images/header.png);
background-repeat: no-repeat;
height: 230px;
Ale header jest na środku strony a chciałbym dodać jeszcze bo bokach backgroundy np linear itp
korzystałem z color thief (http://lokeshdhakar.com/projects/color-thief/)
I wyszły mi takie backgroundy:
Kod
background-color: rgb(52, 124, 204)
background-color: rgb(52, 132, 204)
background-color: rgb(57, 140, 212)
background-color: rgb(52, 132, 212)
background-color: rgb(52, 124, 208)
background-color: rgb(60, 128, 200)
background-color: rgb(52, 124, 208)
background-color: rgb(52, 124, 208)
background-color: rgb(52, 124, 208)
background-color: rgb(52, 132, 204)
background-color: rgb(57, 140, 212)
background-color: rgb(52, 132, 212)
background-color: rgb(52, 124, 208)
background-color: rgb(60, 128, 200)
background-color: rgb(52, 124, 208)
background-color: rgb(52, 124, 208)
background-color: rgb(52, 124, 208)
Jak je mogę dodać po bokach aby się ładnie dopasowało z obrazkiem?
Pozdrawiam!
pomoże ktoś?