Discussion on: Using Smart CSS to Time Your Wonderful Newsletter Popup

bhaibel profile image
Betsy Haibel

The two approaches seem compatible to me! If the intersection observer updated the body class with a data-last-landmark attribute, instead of a raw %, you could still reference off of that with CSS.

Thread Thread
rikschennink profile image
Rik Schennink Author

Interesting approach! That would certainly work I think.