UI Components์ถœ์ฒ˜: CSS-Tricks์กฐํšŒ์ˆ˜ 11

Responsive Hexagon Grid Using Modern CSS

By Temani Afif
2026๋…„ 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์—์„œ ์ œ๊ณตํ•˜๋Š” ์ตœ์‹  ๊ฐœ๋ฐœ ๋™ํ–ฅ์ž…๋‹ˆ๋‹ค. ๊ด€๋ จ ๋„๊ตฌ๋‚˜ ๊ธฐ์ˆ ์— ๋Œ€ํ•ด ๋” ์•Œ์•„๋ณด์‹œ๋ ค๋ฉด ์›๋ณธ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”.