Code Thuộc tính text-emphasis-color trong CSS

Code Thuộc tính text-emphasis-color trong CSS

Code Thuộc tính text-emphasis-color trong CSS

Tự code rồi chạy thử... Chạy Thử
<!DOCTYPE html>
<html>
<head>
<title>Code Thuộc tính text-emphasis-color trong CSS</title>
<style>
p{text-emphasis-style: double-circle;}
span {width:100%;float:left;height:auto;margin-bottom:20px}
</style>
</head>
<body>

<h1>Code Thuộc tính text-emphasis-color trong CSS</h1>

<span>Dùng để tô màu cho các biểu tượng do thuộc tính text-emphasis-style tạo ra:</span>

<p style="text-emphasis-color: red;">text-emphasis-color: red;</p>

<p style="text-emphasis-color: #0000FF;">text-emphasis-color: #0000FF;</p>

<p style="text-emphasis-color: rgb(201, 76, 76);">text-emphasis-color: rgb(201, 76, 76);</p>

<p style="text-emphasis-color: rgba(201, 76, 76, 0.3);">text-emphasis-color: rgba(201, 76, 76, 0.3);</p>

<p style="text-emphasis-color: hsla(89, 43%, 51%, 0.3);">text-emphasis-color: hsla(89, 43%, 51%, 0.3);</p>

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