@DrMESAZIM
Posted
hi Andrew ..
To center the component better . Here are some to changes I did after I downloaded your code .All my work was focused on the CSS code
1.Index.html file remove line 33
2.Index.html file line 48 > width:40% ;
3 index.html add .container { height:50%}
4.index.html set img{ width:70%; border-radius: 10px;height: 80%; }
- index.html line 65 add div > p { font-size: 0.8rem; line-height: 1.5; }
6 .index.html line 93 replace the media query with this new media query
@media screen and (min-width: 550px) {
.container {height: max-content; width: 25%; }
img {width:90%; border-radius: 10px; height: 30vh; }
}
Marked as helpful