# Responsive Box Grid

**URL:** <https://forum.freecodecamp.org/t/responsive-box-grid/174754>\
**Category:** General\
**Created:** [February 15, 2018, 3:09pm UTC](https://forum.freecodecamp.org/t/responsive-box-grid/174754 "2018-02-15T15:09:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![franklin](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/franklin/32/79244_2.png) [@franklin](https://forum.freecodecamp.org/u/franklin)\
**Post date:** [February 15, 2018, 3:09pm UTC](https://forum.freecodecamp.org/t/responsive-box-grid/174754/1 "2018-02-15T15:09:07Z")

</div>

Hey! I tried to make a responsive grid of 6 textboxes with the box class and bootstrap.  
My problem is , that with different amount of text in it the box they have different widths / heights, but i want them to have the same max-height / max-width as the box with the most text in it.

Is there a chance to get this without hard-coding the width / height for all boxes?

Thanks

[CodePen link](https://codepen.io/g-hammer/pen/NyvXBO?editors=1000)

---

<div class="post-metadata">

**Author:** ![thisiswhale](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/thisiswhale/32/76832_2.png) [@thisiswhale](https://forum.freecodecamp.org/u/thisiswhale)\
**Post date:** [February 15, 2018, 9:46pm UTC](https://forum.freecodecamp.org/t/responsive-box-grid/174754/2 "2018-02-15T21:46:12Z")

</div>

Hi Franklin,  
I assume you want all your text box to have the same width and height. You can add a class to each textbox and in your CSS set a fixed width and height.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:26pm UTC](https://forum.freecodecamp.org/t/responsive-box-grid/174754/3 "2021-01-17T20:26:48Z")

</div>

Closed on January 17, 2021, 8:26pm UTC


