fixedBG | jQuery plugin for create pages | Plugin library
kandi X-RAY | fixedBG Summary
kandi X-RAY | fixedBG Summary
A jQuery plugin for create pages with image background fixed position
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fixedBG
fixedBG Key Features
fixedBG Examples and Code Snippets
Community Discussions
Trending Discussions on fixedBG
QUESTION
I would like to have an image at the top which does not scroll. So I set the container of class fixedbg
to position: fixed
.
But then I want some content below that image, which does scroll but which should hit a wall when content reaches the bottom of the top container (fixedbg
).
How does one do that using CSS?
In the current situation the content of the scrollarea
container just flows over the fixedbg
.
ANSWER
Answered 2017-Nov-04 at 07:43Just add z-index in your fixed image css, then the content scroll from beneath the image. Check snippet.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fixedBG
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page