6 Background Position


#1

still no working

CODE:

#cover {
  background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-8/htmlcss1-img_bicycles.jpeg");
  background-position: center top;
  background-repeat: no-repeat;
  height: 900px;
  position: relative;
  top: -55px;
  width: 100%;
}

OR

background: 
url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-8/htmlcss1-img_bicycles.jpeg")
 no-repeat top center;
  background-size: cover;
  height: 900px;
  position: relative;
  top: -55px;
  width: 100%;
  background-attachment: fixed;
}

ERROR:
Did you position the element at the top of the element's box.


Stuck on 6 Background Position
#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.