Implementing fade-out for public preview card in Casper

Hi, I’d like to implement these instructions for a public preview card fade-out on my site (mattpedals.bike). What is Casper’s equivalent to the the .ghost-content class? Would I need to change anything else in the code? Any help is greatly appreciated. Thank you!