Answers for "set the color of an hr"

5

how to change the color of the hr tag in html

<style>       
    hr{
        height: 1px;
        background-color: #ccc;
        border: none;
    }
</style>
Posted by: Guest on September-02-2020
1

css hr color

hr { border: 0; border-top: 1px solid #dee2e6; }
Posted by: Guest on April-06-2021

Browse Popular Code Answers by Language