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

Đặt outline style dạng ridge (đường nổi) bằng CSS

Dùng outline-style: ridge. Hiệu ứng 3D nổi (ngược với groove).

Ví dụ

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