css background image
background-image: url("image.png"); background-position: center; background-repeat: no-repeat; background-size: cover;
How to set a image as a backgroung image
<style> body { background-image: url('img_girl.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; } </style>
background image css
.wrapper { background: url('./images/homeBg.png') no-repeat; background-size: 100vw; float: left; height: 100vw; width: 100vw; }
how to add background in css
body { background-image: url("paper.gif"); background-color: #cccccc; }
background image css
/* Fixed and aligned background image */ background-image: url('https://sm.pcmag.com/pcmag_in/gallery/6/6-ways-to-/6-ways-to-improve-your-dual-monitor-setup_h96r.jpg'); background-size: cover; background-position: center; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: right; text-align: center; padding: 0 20px; color: white;
How To Add A Background Image In CSS
<html> <head> <title> Back ground image in body </title> </head> <link rel=”stylesheet” href=”background.css”> <body> <h1> Hello World! </h1> <p> This text is not easy to read on this background image. </p> </body> </html>
Source: cssdeck.com