How do I display an image on the mobile version only?

0

I want to add an image to a text block that will only appear when the survey is viewed by a mobile device.  I am using the display attribute to block some images from appearing on the mobile version:

.sg-mobile-optimized .zhide {display: none;}

Now I need some CSS that does the exact opposite.  Has anyone done this before?  Thanks  in advance.

Jim Wetherill asked
    ×

    Login

    Question stats

    • Active
    • Views107 times
    • Answers0 answers
    • Followers1 follower