Streaming live at 10am (PST)

Is it possible to change the interaction based on a different media query


#1

Hi,

I wish to have a a div slide in from the left on click from an element on desktop and tablet, but i would like to have that div slide down on mobile (landscape & portrait).

To give you more of an idea it is a button that is controlling this interaction. Is this possible or can anyone decipher how this can be done, would i need 2 different buttons and apply both interactions then hide the button based on the media query?

Cheers,


#2

It's currently not possible to define interactions for an element at each breakpoint.

Yep, you've got it :+1: 2 elements and 2 interactions will be needed, then alter the visibility of the elements at each breakpoint.


#3

thanks @Phoxic still quite annoying! But all good, can't complainn too much :wink:


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.