::marker

W3C CSS Snapshot 2026

စာရင်းဝင်ရှေ့က bullet ဒါမှမဟုတ် နံပါတ်ကို style ပေးပါတယ်။

ဒီစာမျက်နှာမှာ

ရေးပုံနဲ့ သုံးလို့ရတဲ့ တန်ဖိုးများ

တန်ဖိုး သို့မဟုတ် ရေးပုံအလုပ်လုပ်ပုံ
li::markerMarker အပိုင်းကို ရွေးပါတယ်။ color လို property အချို့ သုံးလို့ရပါတယ်။

နမူနာကို စမ်းကြည့်ပါ

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>::marker</title>
  <style>
li::marker { color: teal; }
  </style>
</head>
<body>
<ul>
  <li>Check in</li>
  <li>Pick up materials</li>
  <li>Find a seat</li>
  <li>Start the activity</li>
</ul>
</body>
</html>

စမ်းကြည့်ရင် ဘာဖြစ်မလဲ စာရင်းဝင်ရှေ့က bullet တွေပဲ စိမ်းပြာရောင် ဖြစ်ပါမယ်။

တရားဝင် ကိုးကားချက်များ