+ 1

How to show our sidebar on the top of every element on the webpage?

I am building a chrome extension that inject the sidenavbar on to the website but a part of my sidebar is hidden underneath the website topnavbar. How to set the css of my sidebar that it will show on the top of every element on the website?

14th Aug 2020, 6:18 PM
Hassan Raza
Hassan Raza - avatar
1 ответ
+ 1
Z-index, Or Position:absolute; Try any one of works. First try with z-index.
14th Aug 2020, 6:49 PM
Divya Mohan
Divya Mohan - avatar