0

hi i have css class called bg-gray and this is the code

.bg-gray{
    background-color:#6C7A89 !important;
    color:#ffffff  !important;
    font-size:20px;
    font-weight:bold;
    text-align:center;
    border:#000000 1px solid;
    -webkit-print-color-adjust: exact !important; 
}

in normal view its look like this enter image description here but in print preview its look like this enter image description here as you can see the background turned to white and the color for text turned for white also i tried to put this in my css file

@media print{
.bg-gray{
    background-color:#6C7A89 !important;
  }
}

also gat same result there is no background color for class bg-gray thanks

Community
  • 1
  • 1
Awar Pulldozer
  • 1,071
  • 6
  • 23
  • 40

0 Answers0