+ 1

Why' background size' doesn't work in background with multiple image?

1st May 2020, 3:26 AM
Aditya
Aditya - avatar
13 odpowiedzi
+ 1
Don't use comma between height and width. Use this like : background-size: 500px 300px;
1st May 2020, 4:37 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
Aditya Check this demo : https://code.sololearn.com/W2Zi16naqfU4/?ref=app This should work :)
1st May 2020, 5:37 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
Please add a code demo so that we can see what's happening.
1st May 2020, 4:18 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
p { background-image: url("http://www.sololearn.com/uploads/css_logo.png"), url("http://www.sololearn.com/uploads/better-code.jpg"); background-position:center , left top; background-repeat: no-repeat no-repeat ; background-size: 500px,300px; }
1st May 2020, 4:32 AM
Aditya
Aditya - avatar
0
It didn't work again, Give me a demo bro
1st May 2020, 5:30 AM
Aditya
Aditya - avatar
0
I am using it in my phone
1st May 2020, 5:30 AM
Aditya
Aditya - avatar
0
Aditya you shouldn't post unrelated question to the initial one if a thread: rather post a brand new question thread ^^ Anyway, the second unordered list do show square bullet... maybe you could increase the font size to better view that's effectly black square and not the default black disc (in both case they are "bullets"): <ul type="square" style="font-size:3em;"> ;)
1st May 2020, 2:08 PM
visph
visph - avatar
0
I am new, and I don,' need your answer again Good bye
2nd May 2020, 4:25 AM
Aditya
Aditya - avatar
0
Hey! This code created by multiple background image ----------code---------- https://code.sololearn.com/WsAAiU3NvnYB/?ref=app
2nd May 2020, 9:55 AM
SAN
SAN - avatar
0
Thanks
2nd May 2020, 12:29 PM
Aditya
Aditya - avatar
- 1
But when I use Height and width it works
1st May 2020, 4:33 AM
Aditya
Aditya - avatar
- 1
Thank you brother Can we become good friends?
1st May 2020, 5:58 AM
Aditya
Aditya - avatar
- 1
<ol class="lower-alpha"> <li>Red</li> <li>Green</li> <li>Blue</li> </ol><br /> <ul> <li class="circle">Red</li> <li class="circle">Green</li> <li class="circle">Blue</li> </ul><br/> <ul type="square"> <li>Red 1</li> <li>Green 2</li> <li>Blue 3</li> </ul> Why second unordered list not show square bullete
1st May 2020, 7:44 AM
Aditya
Aditya - avatar