I have a page which is supposed to be printable. The problem is that the page includes some elements with background-image
(and I can't see the images when I print), so I try to create a stylesheet for the printer, with some pseudo elements that will help me to display the images, it looks like:
.pbar-fill {
background: none !important;
}
.pbar-fill::before {
content: url("/images/bg-progress-bar-big01.gif") !important;
position: absolute !important;
z-index: 1003 !important;
width: 23px !important;
}
It doesn't go well, as the image always get its full width (220px).