::after

W3C CSS Snapshot 2026

Element ရဲ့ အကြောင်းအရာအဆုံးမှာ အလှဆင်စာသား ဒါမှမဟုတ် အမှတ်အသား ထည့်ပေးပါတယ်။

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

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

တန်ဖိုး သို့မဟုတ် ရေးပုံအလုပ်လုပ်ပုံ
.notice::aftercontent နဲ့ element ရဲ့ စာသားနောက်မှာ အကွက်တစ်ခု ထည့်ပါတယ်။

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

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>::after</title>
  <style>
.notice::after { content: " ◆"; color: teal; }
  </style>
</head>
<body>
<p class="notice">Registration opens Monday.</p>
<p id="location">Meet in Room 2.</p>
<h2>Workshop</h2>
</body>
</html>

စမ်းကြည့်ရင် ဘာဖြစ်မလဲ Notice စာသားနောက်မှာ စိမ်းပြာရောင် စိန်ပုံအမှတ် ပေါ်ပါမယ်။

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