UI Components์ถ์ฒ: CSS-Tricks์กฐํ์ 11
Responsive Hexagon Grid Using Modern CSS
By Temani Afif2026๋
1์ 23์ผ
**Responsive Hexagon Grid Using Modern CSS**
Five years ago I published an article on how to create a responsive grid of hexagon shapes. It was the only technique that didnโt require media queries or JavaScript. It works with any number of items, allowing you to easily control the size and gap using CSS variables. CodePen Embed Fallback I am using float, inline-block, setting font-size equal to 0, etc. In 2026, this may sound a bit hacky and outdated...
---
**[devsupporter ํด์ค]**
์ด ๊ธฐ์ฌ๋ CSS-Tricks์์ ์ ๊ณตํ๋ ์ต์ ๊ฐ๋ฐ ๋ํฅ์ ๋๋ค. ๊ด๋ จ ๋๊ตฌ๋ ๊ธฐ์ ์ ๋ํด ๋ ์์๋ณด์๋ ค๋ฉด ์๋ณธ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ์ธ์.
Five years ago I published an article on how to create a responsive grid of hexagon shapes. It was the only technique that didnโt require media queries or JavaScript. It works with any number of items, allowing you to easily control the size and gap using CSS variables. CodePen Embed Fallback I am using float, inline-block, setting font-size equal to 0, etc. In 2026, this may sound a bit hacky and outdated...
---
**[devsupporter ํด์ค]**
์ด ๊ธฐ์ฌ๋ CSS-Tricks์์ ์ ๊ณตํ๋ ์ต์ ๊ฐ๋ฐ ๋ํฅ์ ๋๋ค. ๊ด๋ จ ๋๊ตฌ๋ ๊ธฐ์ ์ ๋ํด ๋ ์์๋ณด์๋ ค๋ฉด ์๋ณธ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ์ธ์.
