The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Color Fade to Black and White

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #149630

    On my current website, I’d like the page for Gloom to fade to black and white when you select the menu option. Is there a way to accomplish this without writing a duplicate set of CSS properties for the Gloom page? Thank you in advance!


    Don’t see how….although, and this is pretty far our there…if the page has a class (or ID) you could do.

    body.gloom  * {
    filter:greyscale (100%);

    …but I haven’t actually been able to get this to work in Codepen.

    Hmm…perhaps it only works on images.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.