Skip to content Skip to sidebar Skip to footer

Remove Fieldset Boarder And Box-shadow From Legend Element

I am trying to remove the background lines and shadows from the area where my legend is. Once I set the background to transparent in the legends property I can still see the lines.

Solution 1:

This will do the trick

fieldset {
    border: 0;
}

Solution 2:

The border and box-shadow are on the fieldset. Just add the following and it should work:

fieldset{
   border:0;
   box-shadow: none;
}

Post a Comment for "Remove Fieldset Boarder And Box-shadow From Legend Element"