1.将行内元素转换为行内块元素,display:inline-block;
2.文字水平垂直居中,text-align:center;
line-height:40px;
height:40px;
3.背景图片background image url();
4.链接伪类选择器: a:focus{ background image:url()};
微信扫一扫
1.将行内元素转换为行内块元素,display:inline-block;
2.文字水平垂直居中,text-align:center;
line-height:40px;
height:40px;
3.背景图片background image url();
4.链接伪类选择器: a:focus{ background image:url()};
相关推荐