1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Media Queries. Multiple CSS files, slow down site?

Discussion in 'CSS' started by prince718, Jul 12, 2011.

  1. #1
    I am going to be redesigning my site. I am going to be using different css files via media queries to optimize for different resolutions. There are a couple main ones to optimize for, but I am willing to spend the time and do small edits to optimize my css for maybe around 6 different screen sizes. Now I want to know, if I use media queries with the min and max, and min device and max device...- will that slow down my site when initially loading?
     
    prince718, Jul 12, 2011 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    No .
     
    drhowarddrfine, Jul 12, 2011 IP
  3. prince718

    prince718 Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanx! Short and sweet. LoL.
     
    prince718, Jul 12, 2011 IP
  4. getadviced

    getadviced Well-Known Member

    Messages:
    557
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    130
    #4
    i would say, make all the css into one file. So include the style within those media queries and don't link so many css files from the media queries.

    Loading more files means more http requests and that decrease performance.
     
    getadviced, Jul 13, 2011 IP
    prince718 likes this.