change color hr css code example
Example 1: how to change the color of the hr tag in html
<style>
hr{
height: 1px;
background-color: #ccc;
border: none;
}
</style>
Example 2: change the color of an hr
hr {
height: 1px;
background-color: #ccc;
border: none;
}
Example 3: css hr color
hr { border: 0; border-top: 1px solid #dee2e6; }