1
我有网站,我想改变风格到移动友好(大按钮,大文本字段等)。我怎样才能做到这一点? HTML文件:更改为移动设备的网站
<link href="jquery-ui/css/south-street/jquery-ui-1.10.4.custom.css" rel="stylesheet" media="screen">
和CSS文件:
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1366px) {
.name { margin-left:auto; margin-right:auto; color:#369; font-size:50px; text-align:right; width:600px;}
}
并没有任何反应的网站看起来一样在屏幕上,并在平板
这种风格将只适用于屏幕大于768px – Pete 2014-08-28 09:59:16
确保添加视meta元素为好。 – 2014-08-28 10:03:12