I came across this awesome effect on a site where the content slides over the banner image but the nav stays put? and I was wondering how would I go about achieving this?
Thanks George
as i said in the comments you need to set the z-index
properly. one positive, one negative and one zero should work. here is the fiddle. http://jsfiddle.net/btevfik/KVVfj/
You can use poistion:fixed
You can also keep one element above others by specifying z-Index which should be greater than other elements.
z-Index:1000
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.