需要了解的選擇器是,類選擇器。id選擇器。內嵌選擇器。子選擇器>。全局選擇器*,但是好像子選擇器好像繼承,是在類定義下定義的選擇器
2023-03-09
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>input-placeholder</title>
</head>
<body>
<input type="text" name="myName" placeholder="請輸入用戶名">
<br>
<input type="password" name="pass" placeholder="請輸入密碼">
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>input-placeholder</title>
</head>
<body>
<input type="text" name="myName" placeholder="請輸入用戶名">
<br>
<input type="password" name="pass" placeholder="請輸入密碼">
</body>
</html>
2023-02-14