mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
67 lines
1.4 KiB
HTML
67 lines
1.4 KiB
HTML
|
|
<ion-toolbar><ion-title>Advanced Cards</ion-title></ion-toolbar>
|
|
|
|
<ion-content class="outer-content">
|
|
|
|
<ion-card>
|
|
|
|
<div>
|
|
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACH5BAAAAAAALAAAAAABAAEAAAICTAEAOw==">
|
|
</div>
|
|
|
|
<ion-card-content>
|
|
<h2 class="card-title">
|
|
Card Title Goes Here
|
|
</h2>
|
|
<p>
|
|
Keep close to Nature's heart... and break clear away,
|
|
once in awhile, and climb a mountain. I am within a paragraph element.
|
|
</p>
|
|
</ion-card-content>
|
|
|
|
<ion-item actions>
|
|
<button clear item-left>
|
|
<icon star></icon>
|
|
Favorite
|
|
</button>
|
|
<button clear item-right>
|
|
<icon share></icon>
|
|
Share
|
|
</button>
|
|
</ion-item>
|
|
|
|
</ion-card>
|
|
|
|
|
|
<ion-card>
|
|
|
|
<ion-item>
|
|
<div item-left class="item-media">
|
|
<img class="avatar" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACH5BAAAAAAALAAAAAABAAEAAAICTAEAOw==">
|
|
</div>
|
|
<h2>Card With An Inset Picture</h2>
|
|
<p>Isn't it beautiful</p>
|
|
</ion-item>
|
|
|
|
<div>
|
|
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACH5BAAAAAAALAAAAAABAAEAAAICTAEAOw==">
|
|
</div>
|
|
|
|
<ion-card-content>
|
|
<p>Hello. I am a paragraph.</p>
|
|
</ion-card-content>
|
|
|
|
</ion-card>
|
|
|
|
</ion-content>
|
|
|
|
<style>
|
|
.avatar {
|
|
width: 80px !important;
|
|
height: 80px;
|
|
}
|
|
img {
|
|
height: 100px;
|
|
}
|
|
</style>
|