is it possible to create a responsive design? To use EM, percentage, relative size?

harinezumi's Avatar

harinezumi

12 Apr, 2020 04:35 PM

I'd like to format some part of the cards using CSS3.
I wonder what html render uses Anki, seems tha we can only use pixels as unit of measure, so it's difficult to create a design good both for smartphone and pc.

  1. 1 Posted by Guillem Palau-S... on 08 May, 2020 12:30 PM

    Guillem Palau-Salvà (contributor user)'s Avatar

    ANki uses webkit, so more or less as if you where formatting for Chrome, although some things do not work. You can use em % etc.

    Also, you can specify different formatting for each platform: mobile windows, mac and linux.

  2. 2 Posted by harinezumi on 08 May, 2020 12:42 PM

    harinezumi's Avatar

    thank you, "ANki uses webkit," is exactly what I wanted to know.

  3. harinezumi closed this discussion on 08 May, 2020 12:54 PM.

  4. Guillem Palau-Salvà (contributor user) re-opened this discussion on 08 May, 2020 06:12 PM

  5. 3 Posted by Guillem Palau-S... on 08 May, 2020 06:12 PM

    Guillem Palau-Salvà (contributor user)'s Avatar

    You are welcome

  6. harinezumi closed this discussion on 31 May, 2020 05:59 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac