How to put responsive background in col-Md

Asked

Viewed 1,743 times

1

inserir a descrição da imagem aqui

How do I make that fund not repeat itself? html:

        <div class="col-md-12">
        <div class="panel panel-default sharp">
            <div class="conteudo_me">

            </div>
        </div>
    </div><!-- /.col-md-12 -->

css:

.conteudo_me {
background: url(../img/view.png);
height:255px;
width:100% auto;

background-position: 0px 280px; 
}

2 answers

1

That should suit...

        background: url(../img/view.png) no-repeat;

0

background-repeat:no-repeat;
 display: compact;

That should work.

  • When I put backgroun-repeat, the image disappears.

  • I used your background here and it worked right... Call me in skype, I can help you better. gu_bat

Browser other questions tagged

You are not signed in. Login or sign up in order to post.