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

Đặt outline style dạng groove (đường rãnh) bằng CSS

Dùng outline-style: groove. Hiệu ứng 3D rãnh chạm vào trang.

Ví dụ

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