<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>取消轮廓</title>
<style>
input{
outline: none; /*取消轮廓的方法*/
border: 1px solid red; /*改变默认边框颜色*/
/*里面能放背景图片*/
}
textarea{
resize: none; /*让多行文本域不能任意拖拽*/
}
</style>
</head>
<body>
<input type="text" value="12345">
<textarea name="" id="" cols="30" rows="10"></textarea>
</body>
</html>
取消input等的轮廓ouline 015
最新推荐文章于 2021-07-04 14:04:41 发布