ionic2 - ionic 2 grid problems with col-* / respnosive -


i've got code

<ion-grid>       <ion-row wrap>          <ion-col col-2>           <h3>adresse</h3>         </ion-col>         <ion-col col-1 offset-1>           <h3>telefon</h3>          </ion-col>         <ion-col col-4>           <h3>geb./fam./adelspräd.</h3>         </ion-col>         <ion-col col-2>           <h3>beruf/stellung/titel</h3>         </ion-col>         <ion-col col-2>           <h3>knr/inhaber</h3>         </ion-col>       </ion-row>     </ion-grid> 

but doesn't col-* attributes, it's described in here https://ionicframework.com/docs/v2/api/components/grid/grid/ can't find called css-classes. there 5 cols same width

bet when take width-10, reacts i'm doing.

at end, want this

<ion-col col-12 col-sm>   1 of 4 </ion-col> 

to responsive.

thanks help!

you should use

width-10  

instead of

col-10 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -