Bootstrap: Resizing the figure

0

I have the following HTML code:

<section class="container sobre-site">
    <h2 id="sobre-site-id" class="subtitulo">Título</h2>

    <figure class="thumbnail">
        <img class="img-loja" src="img/espaco/8-1.png" alt="Título">
        <figcaption class="caption">
            <p>
                Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
                tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
                veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea 
                commodo consequat. Duis aute irure dolor in reprehenderit in voluptate 
                velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
            </p>
        </figcaption>
    </figure>
</section>

The result for mobile is as follows:

  

Andtheresultfordesktoplookslikethis:

  

ButIwouldliketheresultforthedesktoptolooklikethis:

  

ItriedtodoitinmanywaysbutI'mthinkingthatintheboostrapthereisnowaytodoit.Orareyou?

Afterapplyingthecode:

@media(min-width:1024px){.img-loja,.caption{float:left;width:50%;}}

isasfollows:

The border is not encompassing all the content (image and text)

    
asked by anonymous 16.11.2016 / 19:15

0 answers