Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Framework Basics Prototyping with Bootstrap Build with Grids

Alessandro Sanguedolce
Alessandro Sanguedolce
Courses Plus Student 2,198 Points

how define 3 equal-sized columns that display horizontally in medium devices and up?

some help me please

<!DOCTYPE html>
    <title>Ribbit - A Treehouse Project</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <div class="container">

      <div class="row">

        <div class="col-sx-4">
          <h2 >Delete photo &amp; video based on a timer</h2>
          <p>Learn how to write the code that downloads and displays messages, photos, and videos that timeout after a few seconds. Then create the code that deletes them from the back-end to make them "self destruct."</p>

        <div  class="col-sx-4">
          <h2>Build an easily managed friends list</h2>
          <p>Learn what Parse.com offers as a "backend-as-a-service" platform. Explore the user account management APIs provided by Parse.com and write the code to create and save a new user in a Parse.com data store.</p>

        <div class="col-sx-4">
          <h2 >Store &amp; retrieve data using cloud servers</h2>
          <p>We'll teach you how to upload images, video files, and messages to Parse.com's cloud servers. Then learn how to retrieve the data by setting up custom queries that download and display them in the app.</p>



1 Answer

Ryan Holm
Ryan Holm
Front End Web Development Techdegree Student 12,726 Points

Hey, Alessandro, this grid layout on GetBootStrap is a good reference for layout: http://getbootstrap.com/css/#grid-example-basic

This isn't a direct answer to your question but I've always used this as a reference when designing layouts.

Also, it looks like you may have an extra space in the <div class="col-sx-4">

Hope this helps a bit.