{"id":363882,"date":"2022-03-02T07:57:32","date_gmt":"2022-03-02T15:57:32","guid":{"rendered":"https:\/\/css-tricks.com\/?p=363882"},"modified":"2022-03-02T07:57:34","modified_gmt":"2022-03-02T15:57:34","slug":"css-raise-the-curtains-effect","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/css-raise-the-curtains-effect\/","title":{"rendered":"How to Make a \u201cRaise the Curtains\u201d Effect in CSS"},"content":{"rendered":"\n

\u201cRaise the curtains\u201d is what I call an effect where the background goes from dark to light on scroll, and the content on top also goes from light to dark while in a sticky position.<\/p>\n\n\n\n\n\n\n\n

Here\u2019s an example where I used the effect on a real-life project<\/a>:<\/p>\n\n\n\n

\n