จัดสไตล์อินพุตที่ปิดใช้งาน
ใช้ :disabled selector เพื่อจัดสไตล์ <input> ที่มีแอตทริบิวต์ disabled
ตัวอย่าง
<!DOCTYPE html>
<html>
<head>
<style>
input:enabled { background: blue; }
input:disabled { background: red; }
</style>
</head>
<body>
<form action="">
Subject <input type="text" name="subject"><br>
Student: <input type="text" name="student"><br>
Age: <input type="number" name="age" disabled><br>
</form>
</body>
</html>