为什么还能输入内容
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
input[type="text"]:read-only{
border-color: #ccc;
}
</style>
</head>
<body>
<form action="post.php" method="post" >
<input type="text" name="uname">
<input type="submit" value="提交">
</form>
</body>
</html>