2017-04-23 59 views
1

Screenshot of original card離子CSS樣式組件不工作

我只是複製離子成分的HTML代碼到我的應用程序,但它並不像造型原始樣本。

<ion-view view-title="About us"> 
    <ion-content padding> 
    <h1>About us</h1> 
    <ion-card> 
     <ion-card-header> 
     Header 
     </ion-card-header> 
     <ion-card-content> 
      The British use the term "header", but the American term "head-shot" the English simply refuse to adopt. 
     </ion-card-content> 
    </ion-card>  
    </ion-content> 
</ion-view> 

但它返回我這個Screenshot of result page

我已經檢查了所有CSS和JS工作頁面上,除了離子成分。

+0

這是離子1還是2? –

+0

它是離子1 .. –

+0

你可以粘貼你的代碼在小提琴嗎? –

回答