Image width height and center css


#1

Hello!

I have this code:

<ion-content>
  <div class="flex-container">
     <div class="flex-item" 
       <img ng-src="{{pix_url}}">
     </div>
  </div>
</ion-content>

Can it be done in the sample draw?


#2

Sure, you can use some css to set the sizes. Do you have a demo of what you’ve tried so far?


#3

Hi!

Here is the sample:
https://jsfiddle.net/taylormaster/m08Lfo0b/

width is work, but height no, you see if you reduce the window upper frame

I can not find solution…

Thanks