html需要考虑的各种媒体
1 <script> 2 var screen=[ 3 {'移动端': 4 { 5 '手机端':[ 6 {'安卓':['华为','小米','三星','酷派']}, 7 {'ios':['i5','i6','i6s','i6p','i6sp','i7','i7p']} 8 ], 9 '平板':['安卓','ios'] 10 } 11 }, 12 {'PC端':['小屏幕','中屏幕','大屏幕','超大屏幕']} 13 ]; 14 </script>
html需要考虑的各种媒体
1 <script> 2 var screen=[ 3 {'移动端': 4 { 5 '手机端':[ 6 {'安卓':['华为','小米','三星','酷派']}, 7 {'ios':['i5','i6','i6s','i6p','i6sp','i7','i7p']} 8 ], 9 '平板':['安卓','ios'] 10 } 11 }, 12 {'PC端':['小屏幕','中屏幕','大屏幕','超大屏幕']} 13 ]; 14 </script>
转载于:https://www.cnblogs.com/haley168/p/media-2.html