force image no resize css

Solutions on MaxInterview for force image no resize css by the best coders in the world

showing results for - "force image no resize css"
Ellery
25 Jan 2016
1<!-- See here for demo: https://codepen.io/blairwadman/pen/GJZpmM -->
2<div class="container">
3  <div class="image">
4    <img src="http://placehold.it/100x100" width="100" height="100" >
5  </div>
6  <div class="info">
7    <p>Temporibus luctus inventore! Ornare adipisicing occaecati sunt leo optio porta rhoncus venenatis illum, consequat vulputate, ab. Tenetur velit porta pariatur.</p>
8  </div>
9</div>
10<style>
11  .container {
12    display: flex;
13} 
14  img {
15  width: 100%;
16}
17
18.image {
19    flex-shrink: 0;
20}
21</style>