Created
January 20, 2021 06:27
-
-
Save sisidovski/b2391eed70e20f9642bcdc07f099a02f to your computer and use it in GitHub Desktop.
Image aspect ratio box pattern for CLS improvement
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="imageWrap"> | |
<a> | |
<div class="thumbWrap"> | |
<div class="thumb"> | |
<img /> | |
</div> | |
</div> | |
</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment