I am making a project and don’t want to use “position” property but want to use “z-index” property , i am new to CSS please someone help me out…………..
Not possible. Use relative positioning at the very least. But it really depends on your design and markup.
Z-index can’t perform with static positioning. Use anything else.
This reply has been reported for inappropriate content.
position: relative; will not have any impact on the layout unless you explicitly state a top/bottom/left/right on the element.
Position relative by default just uses it’s natural position within the page as the starting point so I’m not sure why you want to avoid using it?
Thanks for helping a newbie friends
You must be logged in to reply to this topic.