add a background image using class in css code example Example: background css image background-image: url('./image.jpg');