Requirement
Create a responsive div, that is, change the size of the content but the location is exactly the same, in my case, that changes the size of the bus and at the same time the size of the heads, maintaining the location.
In this case the heads change size but the bus does not.
Is it possible? , I'm using bootstrap 3.
(Regardless of the main question) Is it possible to add the DNI on each head and make it Responsive?
Code
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css');
.parent {
position: relative;
top: 0;
left: 0;
width: 90%;
}
.bus {
position: relative;
top: 0px;
left: 0px;
width:100%;
}
.human1 {
position: absolute;
top: 42%;
left: 364px;
width:4%;
}
.human2 {
position: absolute;
top: 42%;
left: 458px;
width:4%;
}
.human3 {
position: absolute;
top: 42%;
left: 264px;
width:4%;
}
.human4{
position: absolute;
top: 42%;
left: 164px;
width:4%;
}
<div class="parent">
<img class="bus" src="https://d2gg9evh47fn9z.cloudfront.net/800px_COLOURBOX10405102.jpg" />
<img class="human1" src="https://www.shareicon.net/data/128x128/2015/11/04/666985_man_512x512.png" />
<img class="human2" src="https://www.shareicon.net/data/128x128/2015/11/04/666985_man_512x512.png" />
<img class="human3" src="https://www.shareicon.net/data/128x128/2015/11/04/666985_man_512x512.png" />
<img class="human4" src="https://www.shareicon.net/data/128x128/2015/11/04/666985_man_512x512.png" />
</div>