Reve Reve - 5 years ago 211
HTML Question

Photo grid in Bootstrap without margins

I'm trying to achieve photo grid in Bootstrap without margins like this and also this has to be full-width, I solved that by puting all in container-fluid and no-gutter..
pic,

but I don't know where I'm wrong. Biggest problem is actually the bigger photo, I need to align it, without any borders or margins, I tried to create, like you can see in
DEMO, another col-lg-6 to get this size, and other photos are col-lg-3. Don't know what's the problem

Answer Source

Hope it will help you

.img-responsive {
display: block;
max-width: 100%;
height: auto;
width: 100%;
}
.portfolio-box {
position: relative;
display: block;
margin: 0 auto;
max-width: 100%;
}

Demo

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download