@media all {
// Add both print styles and screen styles here
}
@media screen {
// Screen styles only
}
These are in main.less but aren't doing anything at the moment. In general I think I'm writing css in a basic sort of way, without @media wrappers, and adding @media screen and @media print only where it makes sense to (where something is required in one format or another).
I'm fairly happy with that, but there may be instances where @page, @media print and @media screen are the better choices.
These are in
main.less
but aren't doing anything at the moment. In general I think I'm writing css in a basic sort of way, without@media
wrappers, and adding@media screen
and@media print
only where it makes sense to (where something is required in one format or another).I'm fairly happy with that, but there may be instances where
@page
,@media print
and@media screen
are the better choices.