Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

I'm new in css please help me

$
0
0

@flycoders_sourav wrote:

I want to create a transparent background how can i do that.
below my al details about my requirement
.html

<ion-content fullscreen class="card-background-page">

<ion-card>
    <img src="../assets/imgs/emi-background.jpg"/>
    <div class="card-title">
    <ion-item>
          <ion-label color="primary">Interest Rate</ion-label>
          <ion-input placeholder="Text Input" type="number" [(ngModel)]="homeloaninterest"></ion-input>
          <ion-icon item-right><i class="fa fa-percent" aria-hidden="true"></i></ion-icon>
        </ion-item>
  </div>
    <div class="card-subtitle">41 Listings</div>
  </ion-card>
      <ion-row>
            <ion-col center text-center>
              <button ion-button icon-left clear small (click)="shareItem()">
              <ion-icon name="share"></ion-icon>
              </button>
            </ion-col>
          </ion-row>
</ion-content>

.css

  .card-background-page {

  ion-card {
    position: relative;
    text-align: center;
  }

  .card-title {
    position: absolute;
    top: 36%;
    font-size: 2.0em;
    width: 100%;
    font-weight: bold;
    color: #fff;
    background:#000;
  }

  .card-subtitle {
    font-size: 1.0em;
    position: absolute;
    top: 52%;
    width: 100%;
    color: #fff;
  }

}

Capture111111111111111111111111

How i want to remove the white box and transparent with my back ground how can i do that please help me any one.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>