We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E.g. always wrap print CSS in @media print { } , even inside style attributes.
@media print { }
@media print { font-style: italic }
css:inline could have an option "media" (<media-query>) to filter the stylesheets and only inline rules that match the media query.
The text was updated successfully, but these errors were encountered:
A better solution I think would be to put styles for different target media in different attributes.
Sorry, something went wrong.
E.g. <css:inline media="print" attribute-name="css:print-style"/>
<css:inline media="print" attribute-name="css:print-style"/>
This should already be supported by css:inline.
css:inline
A remaining question is how to support the print style in translators, because pf:text-transform only has one "style" parameter.
pf:text-transform
Note that media "print" was disabled in commit b63f7b8 because it wasn't being used in any translators anyway.
No branches or pull requests
E.g. always wrap print CSS in
@media print { }
, even inside style attributes.css:inline could have an option "media" (<media-query>) to filter the stylesheets and only inline rules that match the media query.
The text was updated successfully, but these errors were encountered: