Skip to content

Instantly share code, notes, and snippets.

@triposat
Created February 26, 2023 08:11
Show Gist options
  • Save triposat/434759b28a9008c63d281132d1216e08 to your computer and use it in GitHub Desktop.
Save triposat/434759b28a9008c63d281132d1216e08 to your computer and use it in GitHub Desktop.
Overuse CSS Functions
<section>
<img src="https://www.lambdatest.com/logo.png" alt="Image 1">
<img src="https://images.g2crowd.com/uploads/product/image/large_detail/large_detail_c8f5f4721cde3897dffa246c0e0bfce9/lambdatest-lambdatest.png" alt="Image 2">
</section>
section {
display: flex;
}
img {
width: min(50%, 200px);
height: min(50%, 200px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment