摘要: 圆角边框 1. border radius属性用于设置元素的外边框圆角 ~~~ border radius:length; ~~~ radius半径(圆半径)原理:圆与边框的交际形成圆角效果。 圆的做法 首先,做一个正方形的div 其次,让border radius的值等于div宽度的一般,或者等于 阅读全文
posted @ 2019-11-11 22:19 小咸鱼|大梦想 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 文字折叠效果 1. 效果展示 2. 实现过程 ~~~html H e l l o W o r l d ~~~ 填充内容 CSS布局 ~~~css { margin:0px; padding:0px; } body{ background color:aquamarine; width:100%; h 阅读全文
posted @ 2019-11-11 14:37 小咸鱼|大梦想 阅读(563) 评论(0) 推荐(0) 编辑