css的圆角矩形 边框设置颜色,但是却不显示,但是字体颜色正常,背景颜色也正常

width: 308px;
height: 112px;
color: white;
padding: 10px;
margin: 10px;
border-color: #FA0000 #FA0000 #FA0000 #FA0000;
line-height: 65px;
top: 80%;
border-radius: 50px;

加个 border-width:1px 1px 1px 1px;

之所以没有出现边框,是因为你没有写边框宽度,默认边框宽度为0

设置背景颜色,或设置边框就OK