Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <p>This grid can be customised with custom properties in the <code>style</code> attribute, e.g.: <code>--cols: 4; --gap: 10px;</code><br>The number of columns will decrease if the viewport is too narrow. (or if you resize it with the bottom-right handle on compatible devices)</p>

<!-- Try defining variables in the .grid element's style attribute, e.g.: `--cols: 4; --min: 100px;` -->
<ul role="list" class="grid" style="">
	<li><svg width="78" height="32" viewBox="0 0 78 32" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path d="M55.5 0H77.5L58.5 32H36.5L55.5 0Z" fill="#FF7A00"></path>
			<path d="M35.5 0H51.5L32.5 32H16.5L35.5 0Z" fill="#FF9736"></path>
			<path d="M19.5 0H31.5L12.5 32H0.5L19.5 0Z" class="ccompli2" fill="#FFBC7D"></path>
		</svg></li>
	<li><svg width="150" height="57" viewBox="0 0 150 57" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path d="M30.5702 28.9046C30.5702 26.8237 31.8126 25.3741 33.7113 25.3741C35.61 25.3741 36.8523 26.8237 36.8523 28.9046C36.8523 30.9622 35.61 32.4351 33.7113 32.4351C31.8126 32.4351 30.5702 30.9622 30.5702 28.9046Z" fill="#33deff"></path>
			<path d="M46.6278 25.2806C44.8229 25.2806 43.604 26.6834 43.604 28.6007C43.604 30.5413 44.8463 31.9909 46.6278 31.9909C48.5968 31.9909 49.9095 30.5179 49.9095 28.6007C49.9095 26.7068 48.5968 25.2806 46.6278 25.2806Z" fill="#33deff"></path>
			<path d="M57.0911 28.9046C57.0911 26.8237 58.3335 25.3741 60.2322 25.3741C62.1309 25.3741 63.3732 26.8237 63.3732 28.9046C63.3732 30.9622 62.1309 32.4351 60.2322 32.4351C58.3335 32.4351 57.0911 30.9622 57.0911 28.9046Z" fill="#33deff"></path>
			<path d="M76.1933 28.928C76.1933 26.8471 77.4591 25.3975 79.4515 25.3975C81.444 25.3975 82.6394 26.8705 82.6394 28.928C82.6394 30.9855 81.444 32.4351 79.4515 32.4351C77.4591 32.4351 76.1933 31.0089 76.1933 28.928Z" fill="#33deff"></path>
			<path fill-rule="evenodd" clip-rule="evenodd" d="M75 53.3654C114.828 53.3654 147.115 42.0649 147.115 28.125C147.115 14.1851 114.828 2.88464 75 2.88464C35.1718 2.88464 2.88462 14.1851 2.88462 28.125C2.88462 42.0649 35.1718 53.3654 75 53.3654ZM25.9367 34.7031V17.3077H23.0769V34.7031H25.9367ZM27.687 28.9046C27.687 32.4585 30.078 34.9837 33.7113 34.9837C37.3446 34.9837 39.7355 32.4585 39.7355 28.9046C39.7355 25.3507 37.3446 22.8256 33.7113 22.8256C30.078 22.8256 27.687 25.3507 27.687 28.9046ZM46.1356 34.4693C42.8773 34.4693 40.6973 32.0377 40.6973 28.6708C40.6973 25.2806 42.9242 22.7788 46.2293 22.7788C47.9405 22.7788 49.3938 23.5037 50.097 24.7195L50.2611 23.1529H52.7927V34.1186C52.7927 37.9297 50.4018 40.3846 46.6513 40.3846C43.4633 40.3846 41.1427 38.4207 40.7677 35.4045H43.6509C43.8149 36.9243 45.0339 37.7894 46.8153 37.7894C48.8078 37.7894 50.0033 36.5268 50.0033 34.6329V32.669C49.2766 33.7912 47.8233 34.4693 46.1356 34.4693ZM54.2079 28.9046C54.2079 32.4585 56.5989 34.9837 60.2322 34.9837C63.8655 34.9837 66.2564 32.4585 66.2564 28.9046C66.2564 25.3507 63.8655 22.8256 60.2322 22.8256C56.5989 22.8256 54.2079 25.3507 54.2079 28.9046ZM71.0625 19.0847C71.0625 20.0433 70.289 20.7915 69.3513 20.7915C68.3903 20.7915 67.6636 20.0433 67.6636 19.0847C67.6636 18.1494 68.3903 17.4012 69.3513 17.4012C70.289 17.4012 71.0625 18.1494 71.0625 19.0847ZM70.7812 23.1529V34.7031H67.9215V23.1529H70.7812ZM73.2866 40.0573H76.0761V33.1132C76.8027 34.3056 78.3732 35.007 80.1079 35.007C83.5302 35.007 85.5695 32.3884 85.5226 28.7877C85.4523 25.1637 83.3661 22.8022 80.0844 22.8022C78.3264 22.8022 76.7324 23.5738 76.0292 24.9065L75.8651 23.1529H73.2866V40.0573ZM90.89 35.007C88.124 35.007 86.3425 33.534 86.2488 31.2427H88.8507C88.8507 32.2481 89.5773 32.8326 90.8431 32.8326C91.898 32.8326 92.7653 32.4118 92.7653 31.4999C92.7653 30.8452 92.2964 30.4945 91.5463 30.2841L89.5305 29.7697C87.3036 29.1852 86.4363 27.946 86.4363 26.4496C86.4363 24.2518 88.2881 22.8022 90.7728 22.8022C93.2809 22.8022 94.9921 24.2518 95.0859 26.5432H92.484C92.484 25.5378 91.7807 24.9299 90.7025 24.9299C89.6711 24.9299 89.0382 25.491 89.0382 26.286C89.0382 27.0342 89.6242 27.3381 90.4915 27.5719L92.5309 28.0629C94.4296 28.5305 95.4609 29.6528 95.4609 31.3129C95.4609 33.5574 93.6091 35.007 90.89 35.007ZM101.393 35.007C102.963 35.007 104.463 34.2822 105.143 33.2067L105.331 34.7031H108.003V23.1529H105.143V29.2086C105.143 31.2895 104.346 32.4585 102.471 32.4585C101.018 32.4585 100.01 31.7571 100.01 29.3723V23.1529H97.1499V30.3776C97.1499 33.1366 98.6501 35.007 101.393 35.007ZM113.387 28.0629V34.7031H110.527V23.1529H113.152L113.293 24.4623C113.973 23.4335 115.192 22.8022 116.551 22.8022C118.473 22.8022 119.739 23.6439 120.372 25C120.935 23.6439 122.318 22.8022 124.076 22.8022C126.889 22.8022 128.365 24.4857 128.365 27.1511V34.7031H125.599V27.8057C125.599 26.1691 124.709 25.304 123.326 25.304C121.966 25.304 120.888 26.1925 120.888 28.0863V34.7031H118.098V27.8057C118.098 26.1691 117.208 25.304 115.848 25.304C114.489 25.304 113.387 26.1925 113.387 28.0629Z" fill="#33deff"></path>
		</svg></li>
	<li><svg width="161" height="44" viewBox="0 0 161 44" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path d="M54.196 29H57.715V12.44H54.196V29Z" fill="#55AE36"></path>
			<path d="M64.9338 29.368C68.6138 29.368 71.0288 26.999 71.0288 22.813C71.0288 18.765 68.6828 16.235 64.9338 16.235C61.2538 16.235 58.8618 18.604 58.8618 22.813C58.8618 26.884 61.1848 29.368 64.9338 29.368ZM64.9338 26.516C63.3468 26.516 62.4728 25.205 62.4728 22.813C62.4728 20.398 63.3238 19.087 64.9338 19.087C66.5438 19.087 67.4178 20.421 67.4178 22.813C67.4178 25.228 66.5668 26.516 64.9338 26.516Z" fill="#55AE36"></path>
			<path d="M76.7538 29.023C78.0878 29.023 79.1918 28.471 79.9738 27.39V29.46C79.9738 31.185 79.1228 31.76 77.8578 31.76C76.6388 31.76 75.6958 31.162 75.5578 30.058H72.0388C72.4758 33.071 74.7528 34.451 77.9038 34.451C81.1468 34.451 83.4928 32.726 83.4928 29.414V16.626H79.9738V17.776C79.2148 16.764 78.1338 16.235 76.7538 16.235C73.6718 16.235 71.6708 18.535 71.6708 22.652C71.6708 26.585 73.6258 29.023 76.7538 29.023ZM77.6048 26.171C76.0868 26.171 75.2818 24.906 75.2818 22.652C75.2818 20.329 76.0868 19.087 77.6048 19.087C79.1458 19.087 79.9738 20.352 79.9738 22.629C79.9738 24.929 79.1688 26.171 77.6048 26.171Z" fill="#55AE36"></path>
			<path d="M90.7315 29.368C94.4115 29.368 96.8265 26.999 96.8265 22.813C96.8265 18.765 94.4805 16.235 90.7315 16.235C87.0515 16.235 84.6595 18.604 84.6595 22.813C84.6595 26.884 86.9825 29.368 90.7315 29.368ZM90.7315 26.516C89.1445 26.516 88.2705 25.205 88.2705 22.813C88.2705 20.398 89.1215 19.087 90.7315 19.087C92.3415 19.087 93.2155 20.421 93.2155 22.813C93.2155 25.228 92.3645 26.516 90.7315 26.516Z" fill="#55AE36"></path>
			<path d="M97.9976 15.384H101.517V12.44H97.9976V15.384ZM97.9976 29H101.517V16.626H97.9976V29Z" fill="#55AE36"></path>
			<path d="M106.711 34.083V27.758C107.447 28.816 108.505 29.368 109.816 29.368C112.967 29.368 115.014 26.999 115.014 22.79C115.014 18.742 113.013 16.235 109.816 16.235C108.528 16.235 107.47 16.833 106.711 17.914V16.626H103.192V34.083H106.711ZM109.08 19.087C110.575 19.087 111.403 20.398 111.403 22.79C111.403 25.205 110.598 26.516 109.08 26.516C107.539 26.516 106.711 25.182 106.711 22.79C106.711 20.398 107.516 19.087 109.08 19.087Z" fill="#55AE36"></path>
			<path d="M119.24 20.053C119.24 19.386 119.838 18.926 120.758 18.926C122 18.926 122.736 19.455 122.943 20.72H126.439C126.094 17.592 123.84 16.235 120.873 16.235C117.561 16.235 115.882 18.167 115.882 20.237C115.882 25.205 123.38 23.066 123.38 25.458C123.38 26.217 122.759 26.7 121.517 26.7C120.206 26.7 119.263 26.079 119.102 24.929H115.583C116.043 27.988 118.297 29.368 121.425 29.368C124.645 29.368 126.899 27.689 126.899 25.251C126.899 20.352 119.24 22.491 119.24 20.053Z" fill="#55AE36"></path>
			<path d="M135.569 23.733C135.569 25.32 134.695 26.516 133.338 26.516C132.096 26.516 131.498 25.734 131.498 24.147V16.626H127.979V24.86C127.979 27.942 129.704 29.368 132.05 29.368C133.545 29.368 134.764 28.724 135.569 27.344V29H139.088V16.626H135.569V23.733Z" fill="#55AE36"></path>
			<path d="M140.788 29H144.307V21.893C144.307 20.306 145.112 19.087 146.331 19.087C147.458 19.087 148.01 19.892 148.01 21.456V29H151.506V21.893C151.506 20.306 152.334 19.087 153.553 19.087C154.68 19.087 155.209 19.892 155.209 21.456V29H158.728V20.743C158.728 17.684 157.026 16.235 154.726 16.235C153.185 16.235 151.874 16.879 151.023 18.282C150.402 16.902 149.16 16.235 147.688 16.235C146.262 16.235 145.089 16.856 144.307 18.19V16.626H140.788V29Z" fill="#55AE36"></path>
			<path d="M40.8504 34.0526C44.6624 30.6486 47 26.0548 47 21C47 10.5066 36.9264 2 24.5 2C12.0736 2 2 10.5066 2 21C2 31.4934 12.0736 40 24.5 40C28.0253 40 31.3613 39.3154 34.3316 38.0949C37.8208 40.2486 42.0957 41.7967 46.8169 41.4702C44.3227 40.8362 42.1773 38.2679 40.8504 34.0526Z" class="ccompli2" fill="#B6EFA2"></path>
			<path d="M41 21C41 28.732 33.6127 35 24.5 35C15.3873 35 8 28.732 8 21C8 13.268 15.3873 7 24.5 7C33.6127 7 41 13.268 41 21Z" class="ccompli1" fill="#88E169"></path>
			<path d="M35 21C35 25.9706 30.299 30 24.5 30C18.701 30 14 25.9706 14 21C14 16.0294 18.701 12 24.5 12C30.299 12 35 16.0294 35 21Z" fill="#55AE36"></path>
		</svg></li>
	<li><svg width="160" height="30" viewBox="0 0 160 30" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path d="M38.5656 1.27465H42.5603V23.0637H49.1333V26.6953H38.5656V1.27465Z" fill="#726BEA" class="ccompli1"></path>
			<path d="M56.6812 27.0584C54.7202 27.0584 53.2192 26.5016 52.1781 25.3879C51.1371 24.2742 50.6166 22.7006 50.6166 20.6669V7.30297C50.6166 5.26932 51.1371 3.69566 52.1781 2.582C53.2192 1.46833 54.7202 0.911499 56.6812 0.911499C58.6422 0.911499 60.1432 1.46833 61.1843 2.582C62.2253 3.69566 62.7458 5.26932 62.7458 7.30297V20.6669C62.7458 22.7006 62.2253 24.2742 61.1843 25.3879C60.1432 26.5016 58.6422 27.0584 56.6812 27.0584ZM56.6812 23.4269C58.0612 23.4269 58.7512 22.5916 58.7512 20.9211V7.04876C58.7512 5.37826 58.0612 4.54301 56.6812 4.54301C55.3012 4.54301 54.6112 5.37826 54.6112 7.04876V20.9211C54.6112 22.5916 55.3012 23.4269 56.6812 23.4269Z" fill="#726BEA"></path>
			<path d="M71.1125 27.0584C69.1757 27.0584 67.6989 26.5137 66.682 25.4242C65.6652 24.3106 65.1568 22.7248 65.1568 20.6669V7.30297C65.1568 5.24511 65.6652 3.67145 66.682 2.582C67.6989 1.46833 69.1757 0.911499 71.1125 0.911499C73.0493 0.911499 74.5261 1.46833 75.5429 2.582C76.5598 3.67145 77.0682 5.24511 77.0682 7.30297V9.48187H73.2914V7.04876C73.2914 5.37826 72.6014 4.54301 71.2214 4.54301C69.8415 4.54301 69.1515 5.37826 69.1515 7.04876V20.9575C69.1515 22.6038 69.8415 23.4269 71.2214 23.4269C72.6014 23.4269 73.2914 22.6038 73.2914 20.9575V15.9823H71.2941V12.3508H77.0682V20.6669C77.0682 22.7248 76.5598 24.3106 75.5429 25.4242C74.5261 26.5137 73.0493 27.0584 71.1125 27.0584Z" fill="#726BEA"></path>
			<path d="M85.407 27.0584C83.446 27.0584 81.945 26.5016 80.904 25.3879C79.8629 24.2742 79.3424 22.7006 79.3424 20.6669V7.30297C79.3424 5.26932 79.8629 3.69566 80.904 2.582C81.945 1.46833 83.446 0.911499 85.407 0.911499C87.3681 0.911499 88.8691 1.46833 89.9101 2.582C90.9512 3.69566 91.4717 5.26932 91.4717 7.30297V20.6669C91.4717 22.7006 90.9512 24.2742 89.9101 25.3879C88.8691 26.5016 87.3681 27.0584 85.407 27.0584ZM85.407 23.4269C86.787 23.4269 87.477 22.5916 87.477 20.9211V7.04876C87.477 5.37826 86.787 4.54301 85.407 4.54301C84.0271 4.54301 83.3371 5.37826 83.3371 7.04876V20.9211C83.3371 22.5916 84.0271 23.4269 85.407 23.4269Z" fill="#726BEA" class="ccompli1"></path>
			<path d="M94.1808 1.27465H98.1755V26.6953H94.1808V1.27465Z" fill="#4F46E5"></path>
			<path d="M101.167 1.27465H107.05C109.035 1.27465 110.524 1.80727 111.517 2.87252C112.51 3.93776 113.006 5.49931 113.006 7.55717V10.0629C113.006 12.1208 112.51 13.6823 111.517 14.7476C110.524 15.8128 109.035 16.3454 107.05 16.3454H105.162V26.6953H101.167V1.27465ZM107.05 12.7139C107.704 12.7139 108.188 12.5323 108.503 12.1692C108.842 11.806 109.011 11.1887 109.011 10.3171V7.30297C109.011 6.4314 108.842 5.81404 108.503 5.45089C108.188 5.08774 107.704 4.90617 107.05 4.90617H105.162V12.7139H107.05Z" fill="#4F46E5"></path>
			<path d="M120.51 27.0584C118.574 27.0584 117.109 26.5137 116.116 25.4242C115.124 24.3106 114.627 22.7248 114.627 20.6669V19.2143H118.404V20.9575C118.404 22.6038 119.094 23.4269 120.474 23.4269C121.152 23.4269 121.66 23.2332 121.999 22.8459C122.362 22.4343 122.544 21.7806 122.544 20.8848C122.544 19.8196 122.302 18.8875 121.818 18.0886C121.334 17.2654 120.438 16.2849 119.13 15.147C117.484 13.6944 116.334 12.3871 115.68 11.225C115.027 10.0387 114.7 8.70715 114.7 7.23034C114.7 5.2209 115.208 3.67145 116.225 2.582C117.242 1.46833 118.719 0.911499 120.656 0.911499C122.568 0.911499 124.009 1.46833 124.977 2.582C125.97 3.67145 126.466 5.24511 126.466 7.30297V8.35611H122.689V7.04876C122.689 6.1772 122.52 5.54773 122.181 5.16037C121.842 4.7488 121.346 4.54301 120.692 4.54301C119.36 4.54301 118.695 5.35405 118.695 6.97613C118.695 7.89611 118.937 8.75557 119.421 9.5545C119.929 10.3534 120.837 11.3218 122.145 12.4597C123.815 13.9123 124.965 15.2318 125.595 16.4181C126.224 17.6044 126.539 18.9964 126.539 20.5943C126.539 22.6764 126.018 24.2742 124.977 25.3879C123.96 26.5016 122.471 27.0584 120.51 27.0584Z" fill="#4F46E5"></path>
			<path d="M134.64 27.0584C132.703 27.0584 131.226 26.5137 130.209 25.4242C129.192 24.3106 128.684 22.7248 128.684 20.6669V1.27465H132.679V20.9575C132.679 21.829 132.848 22.4585 133.187 22.8459C133.55 23.2332 134.059 23.4269 134.712 23.4269C135.366 23.4269 135.862 23.2332 136.201 22.8459C136.564 22.4585 136.746 21.829 136.746 20.9575V1.27465H140.595V20.6669C140.595 22.7248 140.087 24.3106 139.07 25.4242C138.053 26.5137 136.576 27.0584 134.64 27.0584Z" fill="#4F46E5"></path>
			<path d="M143.44 1.27465H149.142L151.684 19.4685H151.756L154.299 1.27465H160V26.6953H156.223V7.44823H156.151L153.245 26.6953H149.904L146.999 7.44823H146.927V26.6953H143.44V1.27465Z" fill="#4F46E5"></path>
			<path d="M0 26.6953C4.91448 26.6953 8.89841 22.7113 8.89841 17.7969C8.89841 12.8824 4.91448 8.89844 0 8.89844V15.1273C1.47433 15.1273 2.66951 16.3225 2.66951 17.7969C2.66951 19.2712 1.47433 20.4664 0 20.4664V26.6953Z" fill="#726BEA" class="ccompli1"></path>
			<path d="M29.6614 11.8646C28.1408 11.3829 26.5215 11.123 24.8414 11.123C16.0363 11.123 8.89844 18.261 8.89844 27.066C8.89844 27.9498 8.97036 28.8168 9.10862 29.6614H19.0145C18.6609 28.8686 18.4643 27.9903 18.4643 27.066C18.4643 23.544 21.3194 20.6888 24.8414 20.6888C26.7664 20.6888 28.4921 21.5417 29.6614 22.8902V11.8646Z" fill="#A5B4FC" class="ccompli2"></path>
			<path d="M1.56451 0C2.30225 6.67374 7.9603 11.8646 14.8307 11.8646C21.701 11.8646 27.3591 6.67374 28.0968 0H18.5513C17.962 1.4773 16.5182 2.52121 14.8307 2.52121C13.1431 2.52121 11.6994 1.4773 11.11 0H1.56451Z" fill="#4F46E5"></path>
		</svg></li>
	<li><svg width="52" height="44" viewBox="0 0 53 44" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path d="M23.2997 0L52.0461 28.6301V44H38.6311V34.1553L17.7522 13.3607L13.415 13.3607L13.415 44H0L0 0L23.2997 0ZM38.6311 15.2694V0L52.0461 0V15.2694L38.6311 15.2694Z" fill="gold"></path>
		</svg></li>
	<li><svg width="60" height="40" viewBox="0 0 60 40" fill="none" xmlns="http://www.w3.org/2000/svg">
		<path d="M56.25 1.25C56.25 1.94036 56.8096 2.5 57.5 2.5H58.75C59.4404 2.5 60 1.94036 60 1.25C60 0.559648 59.4404 3.49691e-06 58.75 3.49691e-06H57.5C56.8096 3.49691e-06 56.25 0.559648 56.25 1.25Z" fill="#212326"></path>
		<path d="M20 40H26.0723L24.3045 38.2322C23.8357 37.7634 23.1998 37.5 22.5368 37.5H20C10.335 37.5 2.5 29.665 2.5 20C2.5 10.335 10.335 2.50001 20 2.5L40 2.5C49.665 2.5 57.5 10.335 57.5 20C57.5 29.665 49.665 37.5 40 37.5H32.5184C31.5238 37.5 30.57 37.1049 29.8667 36.4017L27.7957 34.3306C26.6236 33.1585 25.0338 32.5 23.3762 32.5H20C13.0964 32.5 7.5 26.9036 7.5 20C7.5 13.0964 13.0964 7.5 20 7.5L40 7.5C46.9036 7.5 52.5 13.0964 52.5 20C52.5 26.9036 46.9036 32.5 40 32.5H35.1961C34.2015 32.5 33.2477 32.1049 32.5444 31.4017L30.4733 29.3306C29.3012 28.1585 27.7115 27.5 26.0539 27.5H20C15.8579 27.5 12.5 24.1421 12.5 20C12.5 15.8579 15.8579 12.5 20 12.5L40 12.5C44.1421 12.5 47.5 15.8579 47.5 20C47.5 24.0916 44.2235 27.418 40.1512 27.4985L40.1504 27.5H38.3211C37.3265 27.5 36.3727 27.1049 35.6694 26.4017L33.5983 24.3306C32.6366 23.3688 31.3937 22.7529 30.0628 22.5628L30 22.5L20 22.5C18.6193 22.5 17.5 21.3807 17.5 20C17.5 18.6193 18.6193 17.5 20 17.5L40 17.5C41.3807 17.5 42.5 18.6193 42.5 20C42.5 21.3807 41.3807 22.5 40 22.5H35L36.7678 24.2678C37.2366 24.7366 37.8725 25 38.5355 25H40C42.7614 25 45 22.7614 45 20C45 17.2386 42.7614 15 40 15L20 15C17.2386 15 15 17.2386 15 20C15 22.7614 17.2386 25 20 25L29.1789 25C30.1735 25 31.1273 25.3951 31.8306 26.0983L33.9017 28.1694C35.0738 29.3415 36.6635 30 38.3211 30H40.625V29.9808C45.8567 29.6582 50 25.3129 50 20C50 14.4772 45.5228 10 40 10L20 10C14.4772 10 10 14.4772 10 20C10 25.5229 14.4772 30 20 30H26.0539C27.0485 30 28.0023 30.3951 28.7056 31.0983L30.7767 33.1694C31.9488 34.3415 33.5385 35 35.1961 35H40C48.2843 35 55 28.2843 55 20C55 11.7157 48.2843 5 40 5L20 5C11.7157 5 5 11.7157 5 20C5 28.2843 11.7157 35 20 35H23.3762C24.3708 35 25.3246 35.3951 26.0279 36.0983L28.099 38.1694C29.2711 39.3415 30.8608 40 32.5184 40H40C51.0457 40 60 31.0457 60 20C60 8.9543 51.0457 -9.65645e-07 40 0L20 4.13264e-06C8.9543 5.09829e-06 -9.65645e-07 8.95431 0 20C9.65645e-07 31.0457 8.95431 40 20 40Z" fill="deeppink"></path> </svg></li>
</ul>
<p><em>(logos from <a href="https://logoipsum.com" target="_top">logoipsum.com</a>)</em></p>
              
            
!

CSS

              
                .grid {
	--_cols: max(1, var(--cols, 3)); /* Ideal number of columns; at least one */
	--_gap: var(--gap, 2.5rem); /* Space between each logo */
	--_min: var(--min, 160px); /* Logos must be at least this wide */
	--_max: var(--max, 320px); /* Logos cannot be wider than this size */
	
	display: grid;
	width: 100%;
	gap: var(--_gap, 1rem);
	/* Take up at least --_min, and up to 100%/--_cols (minus value of each added gap), whichever is largest */
	grid-template-columns: repeat(
		auto-fill,
		minmax(
			max(
				var(--_min),
				calc((100% - var(--_gap, 1rem) * (var(--_cols) - 1)) / var(--_cols))
			),
			1fr
		)
	);
	min-width: var(--min, 200px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	resize: horizontal;
	
	@media screen and (pointer: fine) {
		&:hover {
			background: radial-gradient(circle at 100% 100%, pink, transparent 50%) no-repeat 100% 100% / 3rem 3rem;	
		}
	}
	
	& > * {
		display: flex;
        width: 100%;
        height: 100%;
		padding: 0;

        text-align: center;

        & > :is(svg, img) {
            display: flex;
            width: 100%;
            max-width: min(var(--_max), calc(100% - 2rem));
            height: auto;
			max-height: calc(var(--_max) * 0.25);
            margin: auto;
			object-fit: contain;
        }
	}
}

/* Aesthetics */
img, svg { max-width: 100%; height: auto; }
body {
  --ctx-bg: rgb(29, 18, 47);
  --ctx-color: rgb(240, 241, 244);
  --accent: #ffe4c2;
  --highlight: #ff0196;

  display: flex;
  flex-direction: column;
  gap: 2.5em;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;

  line-height: 1.57;
  color: var(--ctx-color);
  background-color: var(--ctx-bg);
}
p { padding: 0.5em 1em; background: #232323; border: 1px solid pink; border-radius: 0.5em; text-align: center; box-shadow: 0 0.5em 1em hsla(330 80% 35% / 50%); }
a { color: deeppink; }
a:is(:hover, :focus) { color: cyan; }
code { padding: 2px 0.25ch; color: pink; background: rebeccapurple; }
              
            
!

JS

              
                
              
            
!
999px

Console