Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> CSS

Đặt outline style dạng đường đứt (dashed) bằng CSS

Dùng outline-style: dashed.

Ví dụ

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