Tell us what’s happening:
I am struggling with task 8 below. i am doing freecodecamp first project. can somebody please help. i have pass all even task 9 . but have big problems with task 8. please help
The element should responsively resize, relative to the width of its parent element, without exceeding its original size.
Your code so far
CSS
#img-div {
text-align: center;
top: 10px;
max-width: 100%;
height: auto;
position: relative;
bottom: 15px;
}
HTML
<
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
.
Challenge: Build a Tribute Page
Link to the challenge: