Skip to content Skip to sidebar Skip to footer

Position An Element Using Css

so while I was making a webpage for desktop only I ran into some trouble while trying to position some elements for example here is how I see it on my screen: while on another scr

Solution 1:

div{position : relative }

#Download
{
  position : absolute
  bottom:14rem;
  left: 43vw;
  background-image: url"(../image/download.png");
}
<div id="Download">
  <h1></h1>
  <img src="image/download.png">
</div>

Try this


Post a Comment for "Position An Element Using Css"