Reputation: 2146
Using this plugin:
http://www.thepetedesign.com/demos/onepage_scroll_demo.html
How can I get the section that is currently not displayed on the screen? I want to change its margin when its non-current
condition is active.
Upvotes: 0
Views: 111
Reputation: 648
try this css
.section:not(.active) {
margin:... ;
padding:... ;
}
Upvotes: 1