in ,

🧑🏻‍💻 TechAcademy | I want to put an image in the background! How to specify the background with CSS [For beginners]

I want to put an image in the background! How to specify the background with CSS [For beginners]

In this article, an active engineer will explain how to specify the background with CSS for HTML elements.

table of contents

  • How to write to edit the background with CSS
  • Let's actually write the background with CSS

 

 

[It is also explained in the video.Click to see! ]

 

How to write to edit the background with CSS

Let's operate the background setting in CSS from the background property group.

There are many background properties such as background-coler that sets the color and background-image that specifies the image.

You can also use a property called background that specifies them all together and omits them.

 

Background-color to specify the background color

You can change the background color using background-color.

background-color: ...

→See more in Tech Tech Magazine