jsp中对已一个普通的button,怎么设置字体的粗细和默认的样式

还有一个问题就是怎么给普通按钮加边框?
2025-03-04 19:21:08
推荐回答(3个)
回答1:

效果:

回答2:

使用style=""
1、font-size: 20px; 这是设置字体的
2、font-weight: bold;这是设置字体的粗细
3、border:1px solid red;这是设置按钮边框

回答3:

Alert{
backgroundColor: #2791DB;
headerColors:#2791DB,#2791DB;
borderThicknessLeft:0;
borderThicknessRight:0;
borderThicknessTop:0;
font-size:14;
buttonStyleName: myCustomButtonStyleName;
}
.myCustomButtonStyleName {
color: #ffffff;
cornerRadius: 12;
background-color:red;
}