Questions tagged [css-backgrounds]
8 questions
1
vote
0 answers
background-attachment: fixed for children whose parent is position: fixed
Essentially, I'm trying to add a list of four buttons/links fixed to the centre of the left side of the page. However, I'm trying to apply the same, single background across the elements using background-attachment: fixed;.
Here is a brief example;…

Taylor Courtney
- 21
- 3
1
vote
1 answer
css multiple images with gradient issue with responsive
Here is my expected output:
Here is my produced output with width of 375px.
and here is at 767px:
Here is my css code:
.content{
width:100%;
background-image:
url("./../../images/small/tantum-winter-home.jpg"),
…

user2024080
- 1
- 14
- 56
- 96
0
votes
0 answers
Weather Animation Change Background
Is it possible to change the "style.css" in HTML/CSS from different styles?
I made weather animations each on to thier own link (sunny, rainy, cloudy) and was wondering if it is possible to combine these so that lets say if one of these weather…
0
votes
0 answers
Why border removes new line created by block level elements in HTML?
Please check the below HTML code. If I remove border from the first element inside the body, the body starts in a new line, but when I include border the new line just disappears. Someone please explain why it is happening.
article {
border:…

Abisheak Sureshkumar
- 23
- 3
0
votes
2 answers
Background-image CSS does not load
In an HTML webpage I created, a stylesheet is attached that, among other things, uses "background-image" to add an image from a CDN, using this code _
BODY{
background-image: url(https://CDN/FILE.jpg);
}
This seems to just create a blank background…

Canine Animal
- 3
- 1
0
votes
3 answers
Static image backrgound and scrolling content css
I would like to create a web page where there the background needs to say the same during the entire scroll. So, the real content of the webpage would feel like floating over the background.
Sorry I don't have any examples, but it would be like what…

ScarySneer
- 199
- 3
- 9
-1
votes
1 answer
What is the use of / in the following css statement
I want to know the use of '/' in the following css statement:-
background: url(a.jpg) center bottom / cover no-repeat;

World Producer
- 39
- 6
-2
votes
1 answer
WordPress Custom Background design
I would like to know how to create a custom background.
There is currently an active site, that i am trying to figure out how i can do the same or similar
https://suscopts.org/
enter image description here

Blocked User
- 9
- 1
- 9