Code Thuộc tính text-decoration-thickness trong CSS

Code Thuộc tính text-decoration-thickness trong CSS

Code Thuộc tính text-decoration-thickness trong CSS

Tự code rồi chạy thử... Chạy Thử
<!DOCTYPE html>
<html>
<head>
<title>Code Thuộc tính text-decoration-thickness trong CSS</title>
<style>
span {width:100%; float: left; heigt:auto; margin-bottom:10px;}
p {text-decoration-line: underline;margin-bottom:30px}
</style>
</head>
<body>

<h1>Code Thuộc tính text-decoration-thickness trong CSS</h1>

<span>Thuộc tính text-decoration-thickness trong CSS kết hợp với thuộc tính text-decoration-line để chỉ định độ dày của dấu gạch cho văn trong phần tử HTML, bạn có thể dùng px, em, % để canh chỉnh:</span>

<p style=" text-decoration-thickness: auto;">text-decoration-thickness: auto;  </p>

<p style="text-decoration-thickness: 5px;">text-decoration-thickness: 5px;  </p>

<p style="text-decoration-thickness: 1px;">text-decoration-thickness: 1px;  </p>

<p style="text-decoration-thickness: 1em;">text-decoration-thickness: 1em;  </p>

<p style="text-decoration-thickness: 50%;">text-decoration-thickness: 50%;</p>

</body>
</html>
Code Thuộc tính text-decoration-thickness trong CSS nằm trong bài viết Thuộc tính text-decoration-thickness trong CSS