Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display images in square aspect ratio #1

Merged
merged 1 commit into from
Aug 22, 2021
Merged

Conversation

quis
Copy link
Contributor

@quis quis commented Aug 22, 2021

When used as a value for padding-bottom 100% means 100% of the element’s height, meaning the ratio between the width and height of the element will be 1:1. This will probably be better for Instagram images since they’re mostly square.

When used as a value for `padding-bottom` 100% means 100% of the elements height, meaning the ratio between the width and height of the element will be 1:1. This will probably be better for Instagram images since they’re mostly square.
Copy link
Owner

@mjmgooch mjmgooch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks @quis.

@mjmgooch mjmgooch merged commit 08e62f0 into mjmgooch:main Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants