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

Background image and color not work in NATIVE APP ANDROID

$
0
0

@thenameti wrote:

Background does not work in native emulator or ionic (Image01).

working only when run in the browser (Image02).

.welcome-card ion-img {
    max-height: 35vh;
    overflow: hidden;
  }
  :host {
    .background-image {
      --background: url("../../assets/img/bg.jpg") no-repeat center center / 100% 100% !important;
    }
  } ...

The same happens with the background of the buttons elements.

 .btn-jogar{
    --background: transparent;  
   --box-shadow: 0;
    color: transparent;
    height: 9em;
    margin-top: 0em;
    margin-bottom: 4em;
    --background-focused: transparent !important;
    --background-activated: transparent;
  }

Already try to correct the problem by adding --ion-- at the beginning of the code, but I did not succeed.

Please, help me!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



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