html - Why Mac chrome print image with white background color -


expected behavior

  • image tag print image non-background.

actual behavior

  • print image white background.

html

<img src="png/ic-trigger.png" srcset="png/ic-trigger@2x.png 2x, png/ic-trigger@3x.png 3x" class="ic-emergency-on"> 

css

  • printed white background.

`

.ic-emergency-on {     position: absolute;     top: 12px;     left: 8px;     width: 20px;     height: 18px;     background-color: #fafafa; } 

`

  • none-background

`

.ic-emergency-on {     position: absolute;     top: 12px;     left: 8px;     width: 20px;     height: 18px;     background-color: #00fafafa; } 

`

so, want there solution not print white background color?

it seems hex value background-color: #00fafafa; acting weird or isn't real hex value can use.

i use background-color: rgba(0,0,0,0); transparency.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -