Created
December 8, 2022 05:38
-
-
Save Archie22is/69e1b5987ef3c36ccb87222251c4162a to your computer and use it in GitHub Desktop.
Three CSS tips for working with inconsistently sized logos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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