Design comparison
SolutionDesign
Solution retrospective
Did anyone experience difficulties using z-index property for layering like i did?
Community feedback
- @yukilunPosted about 1 year ago
Hi there! I have a few recommendations for you:
-
Instead of using an
<img>
element inside the ".imageandlist" div, consider using the CSSbackground-image
property (e.g.,background-image: url("./assets/images/bg-sidebar-desktop.svg")
;). -
It is recommended to wrap the user input for submission within a
<form>
element. For accepting text input, use the<input type='text'>
element instead of the<button>
element you have used.
Marked as helpful0 -
- @alimukhtar53Posted about 1 year ago
You can search about
isolation:isolate;
for z-index;0
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