CSS内部样式
在 * 后面的样式是所有标签都使用这个样式
而 # 后面的样式是对应的id下用如此的样式
<style type="text/css">
*{
margin: 0;
padding: 0;
}
#wrap {
width: 730px;
height: 790px;
background:#000000;
}
</style>
- 圆角border-radius: 10px;
- box-shadow: 0 0 10px #fff; (水平偏移量,垂直偏移量,阴影扩散程度,阴影颜色)
- background-position: 0px 0px; 改变背景的显示位置
- position: fixed; 固定定位
- cursor: pointer; 放置在控件上改变鼠标显示的样式
网友评论