G
G
Grafnet2014-01-26 14:16:30
Bootstrap
Grafnet, 2014-01-26 14:16:30

How to implement blocks with scalable images on bootstrap?

I am getting acquainted with bootstrap little by little, I did not know how to formulate the question correctly, in general I wanted to make something like blocks, with images that also scale depending on the width of the display. For example, like the section "Our work" on flatata.com
Would be tips on how to implement this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artyom Luchnikov, 2014-01-26
@lu4nik

if we are talking about bootstrap 3, then there is a special class for scaling .img-responsive images

K
Krickt, 2014-01-26
@shiza36

img { max-height: 100%; }
Blocks are scaled from the screen size and images take max. block width. To do this, you just need to use bootstrap's rubber blocks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question