div { /* 位置属性 */ position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; /* 盒模型属性 */ display: block; float: right; width: 100px; height: 100px; /* 字体属性 */ font: normal 13px "Helvetica Neue", sans-serif; line-height: 1.5; color: #333; text-align: center; text-indent:10px; /* 画面属性 */ background-color: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 3px; /* 其它属性 */ opacity: 1; cursor:pointer; overflow:hidden; }
CSS属性书写规范
最新推荐文章于 2022-04-21 21:23:24 发布