媒體查詢:
media = "only screen and (max-width:480px)"
@media screen and (min-width:480px){...}
media = "only screen and (max-width:480px)"
@media screen and (min-width:480px){...}
2015-04-06
media query 查詢不同的媒體設備
device-width, device-height 屏幕寬高
width, height 渲染窗口寬高
orientation 設備方向
resolution 設備分辨率
使用 media 關鍵字就可以實現根據不同的設備顯示不同的文件
device-width, device-height 屏幕寬高
width, height 渲染窗口寬高
orientation 設備方向
resolution 設備分辨率
使用 media 關鍵字就可以實現根據不同的設備顯示不同的文件
2015-04-03
1 css3 media query 最簡單 有不支持 css3的瀏覽器的時候, 借助原生的 Javascript
2 第三方開源框架 bootstrap
2 第三方開源框架 bootstrap
2015-04-03