Skip to content

Responsive design? #792

Answered by jodeleeuw
franmlopez asked this question in Q&A
Jun 28, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @fmlopezguzman!

There's nothing in particular that you would do within jsPsych to make the experiment responsive. The display centers by default, so if you keep the content small enough to display on a mobile device you'll get the same experience on both platforms. If you want to adapt in some other way, like making elements larger on PCs, you could use @media queries in the CSS.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jkhartshorne
Comment options

Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants