center background image responsive css code example Example: how to set background image in css responsive body{ background:url("images/xyz.jpg") no-repeat center;