- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 炫酷的导航条
charset="utf-8"> type="text/css"> body,ul,li{margin: 0px;padding: 0px;} .menu{width:750px;height:40px;margin:200px auto;} .menu ul li{list-style: none;float:
2016-12-22 23:23:51 383
原创 transition\animation动画
charset="utf-8"> body{background: #000;} .menu{width: 200px;height: 200px;border:15px solid red;border-radius: 50%; border-bottom:15px solid #fff;border-left:
2016-12-20 18:38:22 222
原创 笔记
3.定位 相对定位 positon:relative (left top right bottom) 绝对定位 absolute 会找最近一个相对定位,如果找不到仙姑相对定位,最后的对象就是body 上面两个一般是成对使用 固定定位(固定在网页的某个地方) fixed bottom left top right ( z-index:1 如果图片显示不出来
2016-12-13 23:44:00 162
原创 京东登陆
代码: lang="en"> charset="UTF-8"> href="css/main.css" rel="stylesheet" type="text/css">
2016-12-13 08:57:00 452
原创 京东右边固定导航
代码: charset="utf-8"> type="text/css"> body{font-size: 12px;} body,menu,ul,li,span{ margin:0px;padding: 0px;
2016-12-10 00:16:42 3527
原创 下拉菜单
代码: charset="utf-8"> type="text/css"> body,nav,ul,li{margin:0px;padding: 0px;} body{font-size: 12px;} nav{width:448px;h
2016-12-08 22:38:19 171
原创 导航菜单
代码: charset="utf-8"> 竖起方向的菜单 body,menu,ul,li{ margin:0px; padding:0px;} ul,li{ list-style:none;} body{ font-siz
2016-12-08 00:45:07 189
原创 盒子模型
margin 外边距(上下左右)找到最近的以对象(父子关系,兄弟关系) margin-top margin-left margin-right margin-bottom 用层级关系编写 .a .b{ } 儿子div居中对齐 (父亲高度-儿子高度)/2 margin-left:auto; margin-right:auto;简写 margin:0px auto;对一个值
2016-12-08 00:40:23 152
原创 css背景、边框
border-style:dotted;图片边框线虚线 border-width: 6px;边框线的宽度 background-repeat:no-repeat;图片不重复 填充背景必须要加上高度跟宽度 不然不显示 background-repeat:repeat-x;水平方向填充 background-repeat:repeat-y;竖直方向填充 background-po
2016-12-06 20:15:57 224
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人