Image width height and center css


I have this code:

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

Can it be done in the sample draw?

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


Here is the sample:

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

I can not find solution…