Adding divs into a div (responsive layout) [closed]Make a div fill the height of the remaining screen spaceHow to horizontally center a <div>?How to make div not larger than its contents?Div width 100% minus fixed amount of pixelsMaintain the aspect ratio of a div with CSSHow to make a div 100% height of the browser windowManaging CSS ExplosionCSS: Setting width/height as Percentage minus pixelsClick through div to underlying elementsResponsive css background images

What happens to a net with the Returning Weapon artificer infusion after it hits?

What exactly did this mechanic sabotage on the American Airlines 737, and how dangerous was it?

How 象【しょう】 ( ≈かたち、 すがた、ようす) and 象【ぞう】 (どうぶつ) got to be written with the same kanji?

A food item only made possible by time-freezing storage?

How can I tell the difference between fishing for rolls and being involved?

Could Apollo astronauts see city lights from the moon?

Lost Update Understanding

Interchange `colon` and `:`

Why did the Soviet Union not "grant" Inner Mongolia to Mongolia after World War Two?

Why was LOGO created?

Iterating over &Vec<T> and Vec<&T>

What does מעלה עליו הכתוב mean?

Hangman Game (YAHG)

Clear text passwords in Unix

My Project Manager does not accept carry-over in Scrum, Is that normal?

Does the Horizon Walker ranger's Planar Warrior feature bypass resistance to non-magical attacks?

Subverting the emotional woman and stoic man trope

Need Improvement on Script Which Continuosly Tests Website

My manager quit. Should I agree to defer wage increase to accommodate budget concerns?

What should I consider when deciding whether to delay an exam?

Is it a good idea to leave minor world details to the reader's imagination?

Suffocation while cooking under an umbrella?

Why does (inf + 0j)*1 evaluate to inf + nanj?

Why is STARTTLS still used?



Adding divs into a div (responsive layout) [closed]


Make a div fill the height of the remaining screen spaceHow to horizontally center a <div>?How to make div not larger than its contents?Div width 100% minus fixed amount of pixelsMaintain the aspect ratio of a div with CSSHow to make a div 100% height of the browser windowManaging CSS ExplosionCSS: Setting width/height as Percentage minus pixelsClick through div to underlying elementsResponsive css background images






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















I'm creating a responsive website using only CSS and React. I'd like to have a lot of divs in one main div but keeping their responsiveness and 3 columns layout. In the future, additional small divs will be added automatically. How can I achieve such a result?



I'm a beginner and I'm thinking about flexbox but I don't know how to use it to get a 3 column responsive layout.



n/a










share|improve this question














closed as too broad by lux, Cindy Meister, Sinto, AkshayNevrekar, Serenity Mar 29 at 7:09


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 4





    What is your question here? Have you tried something and it isn't working? What exactly do you need answered?

    – Avery
    Mar 28 at 18:11

















-1















I'm creating a responsive website using only CSS and React. I'd like to have a lot of divs in one main div but keeping their responsiveness and 3 columns layout. In the future, additional small divs will be added automatically. How can I achieve such a result?



I'm a beginner and I'm thinking about flexbox but I don't know how to use it to get a 3 column responsive layout.



n/a










share|improve this question














closed as too broad by lux, Cindy Meister, Sinto, AkshayNevrekar, Serenity Mar 29 at 7:09


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 4





    What is your question here? Have you tried something and it isn't working? What exactly do you need answered?

    – Avery
    Mar 28 at 18:11













-1












-1








-1








I'm creating a responsive website using only CSS and React. I'd like to have a lot of divs in one main div but keeping their responsiveness and 3 columns layout. In the future, additional small divs will be added automatically. How can I achieve such a result?



I'm a beginner and I'm thinking about flexbox but I don't know how to use it to get a 3 column responsive layout.



n/a










share|improve this question














I'm creating a responsive website using only CSS and React. I'd like to have a lot of divs in one main div but keeping their responsiveness and 3 columns layout. In the future, additional small divs will be added automatically. How can I achieve such a result?



I'm a beginner and I'm thinking about flexbox but I don't know how to use it to get a 3 column responsive layout.



n/a







css reactjs layout responsive-design






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 18:10









henks20henks20

31 bronze badge




31 bronze badge





closed as too broad by lux, Cindy Meister, Sinto, AkshayNevrekar, Serenity Mar 29 at 7:09


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











closed as too broad by lux, Cindy Meister, Sinto, AkshayNevrekar, Serenity Mar 29 at 7:09


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as too broad by lux, Cindy Meister, Sinto, AkshayNevrekar, Serenity Mar 29 at 7:09


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 4





    What is your question here? Have you tried something and it isn't working? What exactly do you need answered?

    – Avery
    Mar 28 at 18:11












  • 4





    What is your question here? Have you tried something and it isn't working? What exactly do you need answered?

    – Avery
    Mar 28 at 18:11







4




4





What is your question here? Have you tried something and it isn't working? What exactly do you need answered?

– Avery
Mar 28 at 18:11





What is your question here? Have you tried something and it isn't working? What exactly do you need answered?

– Avery
Mar 28 at 18:11












2 Answers
2






active

oldest

votes


















0
















If you're looking at solving it with pure CSS you could use flexboxes, but I would suggest that you have a look at bootstrap as Dupocas suggested. It will help you with the layout and responsiveness.



Still, here is a short example of how you could solve it using flexboxes:




.board 
background-color: grey;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;


.item
background-color: lightgrey;
width: 30%;

<div class="board">
<div class="item">
One
</div>
<div class="item">
Two
</div>
<div class="item">
Three
</div>
<div class="item">
Four
</div>
<div class="item">
Five
</div>
<div class="item">
Six
</div>
</div>








share|improve this answer
































    1
















    If resposiveness it's all you need (don't care about break points) then flexbox will solve your problems. But if you want more specificity then take a look in bootstrap and similar solutions, for example, the code bellow use material-ui's implementation of bootstrap's grid system. It declares 3 boxes that change the number of columns they occupy according to the viewport's size.



    <Grid container>
    <Grid item sm=12 md=6 lg=4>
    Item one
    </Grid>
    <Grid item sm=12 md=6 lg=4>
    Item two
    </Grid>
    <Grid item sm=12 md=6 lg=4>
    Item three
    </Grid>
    </Grid>





    share|improve this answer

































      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0
















      If you're looking at solving it with pure CSS you could use flexboxes, but I would suggest that you have a look at bootstrap as Dupocas suggested. It will help you with the layout and responsiveness.



      Still, here is a short example of how you could solve it using flexboxes:




      .board 
      background-color: grey;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;


      .item
      background-color: lightgrey;
      width: 30%;

      <div class="board">
      <div class="item">
      One
      </div>
      <div class="item">
      Two
      </div>
      <div class="item">
      Three
      </div>
      <div class="item">
      Four
      </div>
      <div class="item">
      Five
      </div>
      <div class="item">
      Six
      </div>
      </div>








      share|improve this answer





























        0
















        If you're looking at solving it with pure CSS you could use flexboxes, but I would suggest that you have a look at bootstrap as Dupocas suggested. It will help you with the layout and responsiveness.



        Still, here is a short example of how you could solve it using flexboxes:




        .board 
        background-color: grey;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;


        .item
        background-color: lightgrey;
        width: 30%;

        <div class="board">
        <div class="item">
        One
        </div>
        <div class="item">
        Two
        </div>
        <div class="item">
        Three
        </div>
        <div class="item">
        Four
        </div>
        <div class="item">
        Five
        </div>
        <div class="item">
        Six
        </div>
        </div>








        share|improve this answer



























          0














          0










          0









          If you're looking at solving it with pure CSS you could use flexboxes, but I would suggest that you have a look at bootstrap as Dupocas suggested. It will help you with the layout and responsiveness.



          Still, here is a short example of how you could solve it using flexboxes:




          .board 
          background-color: grey;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-evenly;


          .item
          background-color: lightgrey;
          width: 30%;

          <div class="board">
          <div class="item">
          One
          </div>
          <div class="item">
          Two
          </div>
          <div class="item">
          Three
          </div>
          <div class="item">
          Four
          </div>
          <div class="item">
          Five
          </div>
          <div class="item">
          Six
          </div>
          </div>








          share|improve this answer













          If you're looking at solving it with pure CSS you could use flexboxes, but I would suggest that you have a look at bootstrap as Dupocas suggested. It will help you with the layout and responsiveness.



          Still, here is a short example of how you could solve it using flexboxes:




          .board 
          background-color: grey;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-evenly;


          .item
          background-color: lightgrey;
          width: 30%;

          <div class="board">
          <div class="item">
          One
          </div>
          <div class="item">
          Two
          </div>
          <div class="item">
          Three
          </div>
          <div class="item">
          Four
          </div>
          <div class="item">
          Five
          </div>
          <div class="item">
          Six
          </div>
          </div>








          .board 
          background-color: grey;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-evenly;


          .item
          background-color: lightgrey;
          width: 30%;

          <div class="board">
          <div class="item">
          One
          </div>
          <div class="item">
          Two
          </div>
          <div class="item">
          Three
          </div>
          <div class="item">
          Four
          </div>
          <div class="item">
          Five
          </div>
          <div class="item">
          Six
          </div>
          </div>





          .board 
          background-color: grey;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-evenly;


          .item
          background-color: lightgrey;
          width: 30%;

          <div class="board">
          <div class="item">
          One
          </div>
          <div class="item">
          Two
          </div>
          <div class="item">
          Three
          </div>
          <div class="item">
          Four
          </div>
          <div class="item">
          Five
          </div>
          <div class="item">
          Six
          </div>
          </div>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 28 at 20:31









          PetterPetter

          1,1949 silver badges12 bronze badges




          1,1949 silver badges12 bronze badges


























              1
















              If resposiveness it's all you need (don't care about break points) then flexbox will solve your problems. But if you want more specificity then take a look in bootstrap and similar solutions, for example, the code bellow use material-ui's implementation of bootstrap's grid system. It declares 3 boxes that change the number of columns they occupy according to the viewport's size.



              <Grid container>
              <Grid item sm=12 md=6 lg=4>
              Item one
              </Grid>
              <Grid item sm=12 md=6 lg=4>
              Item two
              </Grid>
              <Grid item sm=12 md=6 lg=4>
              Item three
              </Grid>
              </Grid>





              share|improve this answer





























                1
















                If resposiveness it's all you need (don't care about break points) then flexbox will solve your problems. But if you want more specificity then take a look in bootstrap and similar solutions, for example, the code bellow use material-ui's implementation of bootstrap's grid system. It declares 3 boxes that change the number of columns they occupy according to the viewport's size.



                <Grid container>
                <Grid item sm=12 md=6 lg=4>
                Item one
                </Grid>
                <Grid item sm=12 md=6 lg=4>
                Item two
                </Grid>
                <Grid item sm=12 md=6 lg=4>
                Item three
                </Grid>
                </Grid>





                share|improve this answer



























                  1














                  1










                  1









                  If resposiveness it's all you need (don't care about break points) then flexbox will solve your problems. But if you want more specificity then take a look in bootstrap and similar solutions, for example, the code bellow use material-ui's implementation of bootstrap's grid system. It declares 3 boxes that change the number of columns they occupy according to the viewport's size.



                  <Grid container>
                  <Grid item sm=12 md=6 lg=4>
                  Item one
                  </Grid>
                  <Grid item sm=12 md=6 lg=4>
                  Item two
                  </Grid>
                  <Grid item sm=12 md=6 lg=4>
                  Item three
                  </Grid>
                  </Grid>





                  share|improve this answer













                  If resposiveness it's all you need (don't care about break points) then flexbox will solve your problems. But if you want more specificity then take a look in bootstrap and similar solutions, for example, the code bellow use material-ui's implementation of bootstrap's grid system. It declares 3 boxes that change the number of columns they occupy according to the viewport's size.



                  <Grid container>
                  <Grid item sm=12 md=6 lg=4>
                  Item one
                  </Grid>
                  <Grid item sm=12 md=6 lg=4>
                  Item two
                  </Grid>
                  <Grid item sm=12 md=6 lg=4>
                  Item three
                  </Grid>
                  </Grid>






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 28 at 19:44









                  DupocasDupocas

                  7,2253 gold badges7 silver badges27 bronze badges




                  7,2253 gold badges7 silver badges27 bronze badges
















                      Popular posts from this blog

                      Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                      SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                      은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현