+ 1
Why' background size' doesn't work in background with multiple image?
13 Antworten
+ 1
Don't use comma between height and width. Use this like :
background-size: 500px 300px;
+ 1
Aditya Check this demo :
https://code.sololearn.com/W2Zi16naqfU4/?ref=app
This should work :)
0
Please add a code demo so that we can see what's happening.
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;
}
0
It didn't work again,
Give me a demo bro
0
I am using it in my phone
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;">
;)
0
I am new, and I don,' need your answer again
Good bye
0
Hey!
This code created by multiple background image
----------code----------
https://code.sololearn.com/WsAAiU3NvnYB/?ref=app
0
Thanks
- 1
But when I use
Height and width it works
- 1
Thank you brother
Can we become good friends?
- 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