清除默认样式Reset CSS、图片使用fontawesome

清除默认样式:

https://meyerweb.com/eric/tools/css/reset/

使用图标:

http://fontawesome.dashgame.com/

 清除a标签 input标签默认样式:

a{
text-decoration: none;
}

input {
background: none;
outline: none;
border: 0;
}
清除浮动
.clearfix:after{  content:'.';  clear:both;  display:block: visibility:hidden;  height:0  }

表单提交按钮的图片

1、申明form的id

2、在<a>标签内书写

onclick="document:loginForm.submit()"

猜你喜欢

转载自www.cnblogs.com/staff/p/10570699.html