October 23, 2017 at 5:59 am #261668
I don’t know why the image is not showing up….
This is the HTML Code
<div class="main"> <div id="logo"> <div class="jumbotron"></div> </div> </div>
This is the CSS Code
}October 23, 2017 at 6:36 am #261672
Can you make a demo in Codepen.io rather than just dumping some code?October 23, 2017 at 6:50 am #261673
Here it is mate.
Assume that there is bootstrap file in it….October 23, 2017 at 7:08 am #261674
Ahhh…you are using the shorthand.
Just add the background-size as another line…
split the position/size keywords like
position/sizeOctober 23, 2017 at 7:09 am #261675
Your background declaration should look like this:
background:url(https://i.ytimg.com/vi/n1sk-0k6ysc/maxresdefault.jpg) top left/cover no-repeat;October 24, 2017 at 7:48 am #261827
You must be logged in to reply to this topic.