tsuess1 Posted February 17 Share Posted February 17 Here is an example. I want my background video to remain fixed while scrolling to the next section. Link to comment
E-W Posted February 17 Share Posted February 17 (edited) This code should do it: section[data-section-id="INSERT SECTION ID"] .section-background { background: url('INPUT SOURCE HERE'); background-attachment: fixed; background-repeat: no-repeat; background-size: auto; } Edited February 17 by E-W Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment