CSS 学习第二天

超链接的样式:

       1.颜色变化:未访问时的样式a:link;鼠标点击后的样式a:visited;鼠标放上去的样式a:hover;鼠标点击时的样式a:active

     2.鼠标变小手:cursor:pointer;

背景颜色:background-color:#;    

背景图案:background-image:url(./);   横向纵向平铺 background-repeat:repeat-x/y; no-repeat固定背景图

外边距:margin:1px 1px 1px 1px;上下左右边距

边框:border;

内边距:padding;

圆角边框:border-radius: 1px;

猜你喜欢

转载自www.cnblogs.com/wode007/p/12912399.html