badlydrawnrob / print-first-css

Other
0 stars 0 forks source link

Some styles are currently redundant #77

Open badlydrawnrob opened 2 months ago

badlydrawnrob commented 2 months ago
@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.