Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> CSS

ตั้งค่า Outline เป็นเส้นขีด (Dashed) ด้วย CSS

เพื่อตั้งค่า Outline ให้เป็นเส้นขีด ใช้ outline-style ค่า dashed

ตัวอย่าง

<html>
<head></head>
<body>
    <p style="outline-width:6px; outline-style:dashed;">
        This text is having 6px dashed outline.
    </p>
</body>
</html>