Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

When images have width and height attributes in them, as is often the…#41

Open
taupecat wants to merge 1 commit into
Andy-set-studio:masterfrom
taupecat:master
Open

When images have width and height attributes in them, as is often the…#41
taupecat wants to merge 1 commit into
Andy-set-studio:masterfrom
taupecat:master

Conversation

@taupecat

Copy link
Copy Markdown

… case with a CMS, if you set the max-width property in CSS to max-width: 100% but omit the height property altogether, the image could be distorted if the max-width value is invoked.

… case with a CMS, if you set the max-width property in CSS to max-width: 100% but omit the height property altogether, the image could be distorted if the max-width value is invoked.
@aurooba

aurooba commented Mar 15, 2021

Copy link
Copy Markdown

^ +1. I've been adding that myself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants