Skip to content

<figure> and <img> sizing and positioning #28

Open
@xplosionmind

Description

I need a CSS solution that checks all the following needs.

  • Center images horizontally
  • In the case of tall images, limit their height to 90vh
  • Preserve the aspect ratio
  • Make this valid also for printing.

Metadata

Assignees

No one assigned

    Labels

    🆘 help wantedExtra attention is needed, potentially from outside the team🌐 website

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions