media-queries
How to target iPhone 3GS AND iPhone 4 in one media query?
I am trying to implement alternate layouts for both the iPad/iPhone and older iPhones as well. I have established that the best method is to use @media from the CSS3 spec.[详细]
2023-02-11 06:25 分类:问答Make CSS media query use the em size of the html document rather than the browser?
I\'m trying to use media queries to change the width of an element in chunks based on the width of the window (this allows me to increase the number of columns on the page without the width of the col[详细]
2023-02-02 10:05 分类:问答background-image change in mobile.css
Ok, I am currently directing my style sheets as listed below: <link href=\"Styles/mobile.css\" rel=\"stylesheet\" type=\"text/css\" media=\"only screen and (max-device-width: 480px)\" />[详细]
2023-02-01 03:31 分类:问答How can you hide CSS from the iPhone, but not other browsers?
I know how to hide CSS from all browsers except the iPhone: see How do I apply a stylesheet just to the iPhone (and not IE), without browser sniffing?[详细]
2023-01-27 07:48 分类:问答What does @media screen and (max-width: 1024px) mean in CSS?
I found this piece of code in a CSS file I inherited, but I can\'t make any sense out of it: @media screen and (max-width: 1024px){[详细]
2023-01-25 01:01 分类:问答What is the CSS “@media” nested structure/namespace?
What is this name space like wrapping/nested structure in CSS? I have never seen this before. Please help me understand what is this. Thanks[详细]
2023-01-20 14:29 分类:问答@media syntax / possible combinations
I\'ve seen some of these...: @media print { ... } @media screen, handheld, print, projection { ... } @media all { ... }[详细]
2023-01-16 21:02 分类:问答Can someone please explain CSS media queries?
I read the article about 开发者_开发百科them over at css3.info, but I didn\'t feel like it explained it well enough. I also could not get their examples to change with my screen size. I attempted in S[详细]
2023-01-14 05:07 分类:问答media queries image file name change on screen size
I\'ve been looking at using media queries on a site but bolt at the idea of downloading a huge file only for it take ages to download on a iphone over 3G.[详细]
2023-01-10 01:08 分类:问答Greasemonkey how to apply a CSS rule only for @media print?
I\'m using Greasemonkey and JQuerys #css method to add css styles to a page. Script so far: // ==UserScript==[详细]
2022-12-10 12:37 分类:问答