How can I define fieldset border color?

前端 未结 4 1201
予麋鹿
予麋鹿 2020-12-28 12:38

I want to set border color of field set. I am using class but this is not working properly because i want to remove fieldset default border color. so how can I use fieldset

4条回答
  •  既然无缘
    2020-12-28 13:30

    I added it for all fieldsets with

    fieldset {
            border: 1px solid lightgray;
        }
    

    I didnt work if I set it separately using for example

    border-color : red

    . Then a black line was drawn next to the red line.

提交回复
热议问题