How to leave the inner elements of a section with two columns

0

How to leave the inner elements of a section with two columns independent of the size of the browser?

This image below is what I have read. But as you can see it has four columns. I need to have only two columns in each row, regardless of browser width.

HTML

<sectionclass="destaquestutisticos">

    <h1>Pontos turísticos</h1>

        <figure class="destaquestutisticos_comidastipicas">
                <a href="#" target="_blank">
                <img src="./imagens/comidastipicas.png" width="200" height="150" title="Comidas típicas">
                <figcaption>Comidas típicas</figcaption>
                </a>
        </figure>

        <figure class="destaquestutisticos_comidastipicas">
                <a href="#" target="_blank">
                <img src="./imagens/parques.png" width="200" height="150" title="Parques">
                <figcaption>Parques</figcaption>
                </a>
        </figure>

        <figure class="destaquestutisticos_comidastipicas">
                <a href="#" target="_blank">
                <img src="./imagens/praias.png" width="200" height="150" title="Praias de Guarapari">
                <figcaption>Praias</figcaption>
                </a>
        </figure>

        <figure class="destaquestutisticos_comidastipicas">
                <a href="#" target="_blank">
                <img src="./imagens/turismorural.png" width="200" height="150" title="Turismo rural">
                <figcaption>Turismo rural</figcaption>
                </a>
        </figure>

    </section>

CSS

section.destaquestutisticos{
  float: left;
  width: 100%;
  max-width: 885px;
  height: auto;
  margin-top: 10px;
  border: 2px #FF8922 solid;
  box-sizing: border-box;
}

section.destaquestutisticos h1{
  font-size: 25px;
  padding-left: 15px;
  padding-top: 5px;
  color: #FF8922;
}

figure.destaquestutisticos_comidastipicas{
  float: left;
  width: 200px;
  height: 150px;
  padding: 10px;
  padding-bottom: 35px;
  font-size: 16px;

}
figure.destaquestutisticos_comidastipicas a{
  text-decoration: none;
  text-align: center;
  color:#222222;
}
figure.destaquestutisticos_comidastipicas{
  text-transform: uppercase;
}
    
asked by anonymous 02.07.2017 / 08:02

0 answers