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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -