a标签有默认字体颜色(A the label has a default font color)

a标签有默认字体颜色,要改a标签颜色要给a标签加color。

如果给父级加color,想让a也继承,那么在a里面添加color:inherit

删除下划线

text-decoration: none;

————————

A label has the default font color. To change the color of a label, add color to a label.

If you add color to the parent and want a to inherit, add color: inherit to a

Remove underline

text-decoration: none;