You can use CSS3 media queries to achieve responsive web design.
Let us assume you have a header with id : headerID
default css:
#headerId {
background: url("default-image-url.png");
}
Then you just need to add the following to your CSS file:
@media (max-width: 800px) {
#headerId {
background: url("different-image-url.png") !important;
}
}
Then in your HTML at the <head>
add
<meta name="viewport" content="width=device-width">