简洁小按钮样式

来源:互联网 发布:2016淘宝双11知识问答 编辑:程序博客网 时间:2024/05/24 15:37

position:fixed;top:200px;left:800px;text-decoration:none;display:block;background:#FF8140;width:45px;height:45px;text-align:center;border-radius:3px;line-height:45px;color:white;font-weight:bold;


position:fixed;//相对于浏览器窗口的绝对定位(static:默认位置;absolute:相对于static的绝对定位)

top:200px;

left:800px;

text-decoration:none;//a标签下划线

display:block;//让对象成为块级元素

background:#FF8140;

width:45px;

height:45px;

text-align:center;//文字位置

border-radius:3px;//圆角大小

line-height:45px;//文字位置

color:white;//字体颜色

font-weight:bold;//加粗

原创粉丝点击