Answers for "how to set hr color"

0

change the color of an hr

hr {
        height: 1px;
        background-color: #ccc;
        border: none;
    }
Posted by: Guest on February-02-2021
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
0

add color to hr tag

border: 1px solid red;
Posted by: Guest on January-14-2021

Browse Popular Code Answers by Language