Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

stephanie harrison roberts
stephanie harrison roberts
1,713 Points

wordpress help

hi all, I'm making a very simple flexbox grid to out images into, and dont know what im doing wrong.....I need each item to be a small-ish square, and want 3 to a line, ive out the 'wrap' in, but its not working? I also need a border around each item? any ideas?

Thanks in advance! Steph //html/ <div class="flex-container"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> <div>6</div> <div>7</div> <div>8</div> <div>9</div> <div>10</div> <div>11</div> <div>12</div> </div> //

//css/ .flex-container { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; justify-content: space-around; align-items: center; height: 200px; align-items: stretch; border: solid red 1px; } //