【发布时间】:2015-02-23 01:45:01
【问题描述】:
我有这个代码:
<!DOCTYPE html>
<html>
<head>
<style>
div {
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f3c5bd), color-stop(50%,#e86c57), color-stop(51%,#ea2803), color-stop(75%,#ff6600), color-stop(100%,#c72200));
width: 310px;
height: 310px;
}
</style>
</head>
<body>
<div>lol</div>
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
</body>
</html>
但是当我在手机上打开它而不是在全屏上显示红色 div 时,它会显示所有小东西......我错过了什么?
请帮忙
【问题讨论】:
标签: android html css mobile responsive-design