CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
@media print
krysak4ever
Permalink to comment
#
November 2011
MEDIA QUERIES
I use single .css file in which I have apart all web styling at the very bottom also
@media
print {
/* print styles in here */
}
I know media queries as for adaptive / responsive webs
but is this also MQ so I have to use modernizer or such in order to print in older browsers ?
krysak4ever
Permalink to comment
#
November 2011
I do not want to use 2 separate files like
style.css
print.css
but have the printing part included in one file
hero
Permalink to comment
#
November 2011
Are you worried about the amount of http requests with separate style sheets?
krysak4ever
Permalink to comment
#
November 2011
not really so much as I wanted to have all css in one file for convenience
Add a Comment
I use single .css file in which I have apart all web styling at the very bottom also
I know media queries as for adaptive / responsive webs
but is this also MQ so I have to use modernizer or such in order to print in older browsers ?
style.css
print.css
but have the printing part included in one file