Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8735307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:01:27+00:00 2026-06-13T10:01:27+00:00

I was creating a personal website using bootstrap and I wanted to create this

  • 0

I was creating a personal website using bootstrap and I wanted to create this specific layout :

Each part is 940 px wide with 12 columns so when the screen views 1 of the 3 parts the other 2 are hidden how can i execute this?

Thanks alot for all your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:01:28+00:00Added an answer on June 13, 2026 at 10:01 am

    Given the default 12-column bootstrap grid, with this markup :

    <div class="container supercontainer">
        <div class="supercontainer-inner clearfix view-1">
            <div class="container"><div class="row"><div class="span12"><p>Grid 1</p></div></div></div>
            <div class="container"><div class="row"><div class="span12"><p>Grid 2</p></div></div></div>
            <div class="container"><div class="row"><div class="span12"><p>Grid 3</p></div></div></div>
        </div>
    </div>
    

    and this CSS :

    .supercontainer {
        overflow-x: hidden;
    }
    .supercontainer-inner {
        width: 2820px;
      -webkit-transition: margin-left 0.35s ease;
         -moz-transition: margin-left 0.35s ease;
           -o-transition: margin-left 0.35s ease;
              transition: margin-left 0.35s ease;
    }
    .supercontainer-inner > .container {
        float: left!important;
    }
    
    
    .supercontainer-inner.view-1 { margin-left: 0; }
    .supercontainer-inner.view-2 { margin-left: -940px; }
    .supercontainer-inner.view-3 { margin-left: -1880px; }
    

    Keep in mind that better effects can be achieved by using the carousel stylesheet.

    Check the demo (jsfiddle) the see one possible application to switch views.


    And this is a responsive version of it on jsfiddle.

    But this would need some cleaning up into a LESS script, with a variable for the number of views (and maybe just extend the basic grid.. hum).

    @media (min-width: 1200px) {
        .supercontainer-inner.view-1 { margin-left: 0; }
        .supercontainer-inner.view-2 { margin-left: -1170px; }
        .supercontainer-inner.view-3 { margin-left: -2340px; }
        .supercontainer-inner {
            width: 3510px;
        }
    }
    @media (max-width: 979px) {
        .supercontainer-inner.view-1 { margin-left: 0; }
        .supercontainer-inner.view-2 { margin-left: -724px; }
        .supercontainer-inner.view-3 { margin-left: -1448px; }
        .supercontainer-inner {
            width: 2172px;
        }
    }
    @media (max-width: 767px) {
        .supercontainer-inner.view-1 { margin-left: 0; }
        .supercontainer-inner.view-2 { margin-left: -100%; }
        .supercontainer-inner.view-3 { margin-left: -200%; }
        .supercontainer-inner {
            width: 300%;
        }
        .supercontainer-inner >.container { width: 33.33%!important; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in the proccess of creating my own web profilo and personal website. I
I am interested in creating a website entirely in silverlight (personal reasons) but I
I'm creating a website as a small store for personal use, my main question
I'm creating a small timesheet application. Timesheets have athletes, and each athlete has personal
I am creating a personal website.So,its a very lightweight website! The website uses jquery
On my personal website, I'm creating a contact form. It switches between Buisness Inquiries
I was doing this as a personal exercise and wanted to make sure I
I am planning on creating a small website for my personal book collection. To
I'm creating a personal site with Ruby on Rails. For the most part, RoR
im using wordpress as a CMS for my personal portfolio website. i want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.