会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
惜圆
2019年9月16日
弹性盒子
摘要: 如下: justify-content 的使用(弹性子元素在父容器中的位置) 盒子居中显示 <style> .box{ display: flex; width: 300px; background-color:gray; justify-content: center; } .box div{ w
阅读全文
posted @ 2019-09-16 10:04 惜圆
阅读(141)
评论(0)
推荐(0)
给css边框设置阴影样式
摘要: <style> width:300px; height:200px; background-color:blue; box-shadow:4px 5px 6px 7px rgba(0,0,0,.5) } width:300px; height:200px; background-color:blue
阅读全文
posted @ 2019-09-16 10:04 惜圆
阅读(13239)
评论(0)
推荐(0)
圆角边框border-radius.
摘要: 圆角边框border-radius 在CSS中,用border-radius属性来定义圆角边框。 border-radius 属性是一个简写属性,用于设置四个 border-*-radius 属性。 border: solid; 必须先有边框线 border-radius: 50px 0px 30p
阅读全文
posted @ 2019-09-16 10:04 惜圆
阅读(528)
评论(0)
推荐(0)
css几个重要属性
摘要: 一、Position属性:规定元素定位类型: 1.static (默认值)没有定位 元素出现在正常的流中(忽略 top, bottom, left, right 或者 z-index 声明)。 2.absolute绝对定位 相对于父元素进行定位,元素位置通过top right bottom left
阅读全文
posted @ 2019-09-16 10:03 惜圆
阅读(678)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告