Image as background image CSS?

Hello,

I try to insert an image as a background the whole time, just so that it appears at all (it doesn't even want to do that).

background – image + width etc. is not taken

Do you have any tips? I feel like I've already searched the entire internet…

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
2 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
TypeScript
1 year ago

I already feel the entire internet through…

https://www.w3schools.com/cssref/pr_background-image.php

https://developer.mozilla.org/en-US/docs/Web/CSS/background-image?retiredLocale=de

https://www.drweb.de/background-image/

body {
 background-image: url("./paper.gif");
}

For example, or with background : url(./paper.gif);

all background-image properties like Repeat, Attachment, Position, Size etc.