Design comparison
SolutionDesign
Solution retrospective
still having problems with css but nothing hard
Community feedback
- @roraima1986Posted about 1 year ago
Hello, for the image you can do the following:
In HTML:
<div class="left"></div> <!--Leave this space empty-->In CSS (desktop screens):
.left { background-image: url(path-of-your-image); width: 100%; }
In CSS (mobile screens)
@media screen and (max-width: 375px) { .left { background-image: url(path-of-your-image); } }
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord