Skip to content

Instantly share code, notes, and snippets.

@Archie22is
Created December 8, 2022 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Archie22is/69e1b5987ef3c36ccb87222251c4162a to your computer and use it in GitHub Desktop.
Save Archie22is/69e1b5987ef3c36ccb87222251c4162a to your computer and use it in GitHub Desktop.
Three CSS tips for working with inconsistently sized logos
<div class="photos">
<img src="image-1.png" alt="Image">
<img src="image-2.png" alt="Image">
<img src="image-3.png" alt="Image">
<img src="image-4.png" alt="Image">
<img src="image-5.png" alt="Image">
</div>
<style type="text/css">
.photos {
background: #fff;
}
.photos img {
width: 15%;
aspect-ration 3/2;
object-width: contain;
mix-blend-mode: color-burn;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment