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

Thuộc tính CSS outline (shorthand)

outline là shorthand cho color, style, width.

Ví dụ

<html>
    <head></head>
    <body>
        <p style="outline: thin solid green;">
            This text is having thin solid green outline.
        </p>
        <br />
        <p style="outline: thick dashed #009900;">
            This text is having thick dashed green outline.
        </p>
    </body>
</html>