Answers for "inline css of img"

CSS
1

css image

/* CSS for Desktop */

.country-background-img {
  background: url('https://placeimg.com/1000/695/animals');
  background-repeat: no-repeat;
  background-size: cover;
  height: 695px;
  padding: 60px 30px 0 30px;
  margin-top: 50px;
}


/* Responsive CSS */

.country-background-img {
  height: auto;
  text-align: center;
  background-attachment: fixed;
}
Posted by: Guest on December-12-2021
1

add image to css

background-image: url(path);
background-repeat: no-repeat;
width: 10px;
height: 20px;
Posted by: Guest on February-17-2021

Browse Popular Code Answers by Language