on hover change <hr>color code example Example: change the color of an hr hr { height: 1px; background-color: #ccc; border: none; }