FILTER AND COLOR CSS

1

I need to move a file to print in another color. In the specific situation, I just need to go into inspecting elements and changing the color.

I have 3 distinct files, one of which I can change colors only if I use INSPECT ELEMENTS:

*{
    color: blue !important;
    border-color: blue !important;
}

Now the second file, I can change the color, but it has a barcode, which is in TAG IMG , with GIF .

And the third one is a PDF file.

I need to change the color of these elements, just by INSPECTING ELEMENTS, is something simple.

I had tried the FILTER, but it turned out that the bar code was all blue in the background.

Is there any way I can do what I want, change the entire color of a page and a PDF directly by inspecting using FILTER or another element?

    
asked by anonymous 06.03.2018 / 13:34

1 answer

0

Tried to separate CSS for print and page?

CSS3:

@media screen {
    pre{
        color:blue;
    }
}
@media print {
    pre{
        color:#000;
    }
}

Browsers without CSS3 support:

<head>
   <link rel="stylesheet" type="text/css" href="theme.css">
   <link rel="stylesheet" type="text/css" href="print.css" media="print">
</head>
    
08.03.2018 / 19:42