摘要: 1.插入文字:content属性: p:after{content:"内容"} p:before{content:"内容"} 2.插入图片: li:after{content:url(xxx.gif)} li:before{content:url(xxx.gif)} 3.alt属性:content: 阅读全文
posted @ 2016-10-27 19:19 珠珠儿 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Transitions transitions:property 用哪个属性进行设置 :duration 执行时间 :timing-function 执行什么类型的动画 :transition-delay 延迟时间Animations animations-:name 执行动画关键帧名称 :dura 阅读全文
posted @ 2016-10-26 19:20 珠珠儿 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 10.25日伪类:a:link{}未访问的链接 a:visited{}已访问的链接 a:hover{}鼠标移动到链接上 a:active{}选定的链接 注:a:hover必须是置于a:link和 a:visited之后,才是有效的。 a:active必须置于a:hover之后,才是有效的positi 阅读全文
posted @ 2016-10-25 18:59 珠珠儿 阅读(135) 评论(0) 推荐(2) 编辑
摘要: <canvas id="me"></canvas>//申请一个canvas标签 <script> var canvas = document.getElementById("me");//脚本控制 var can = canvas.getContext("2d"); can.fillStyle = 阅读全文
posted @ 2016-10-02 19:23 珠珠儿 阅读(115) 评论(0) 推荐(0) 编辑
摘要: html代码 <table style="border:1px solid blue"> <tr> <th>id</th> <th>name</th> <th>age</th> <th>sex</th> <th>操作</th> </tr> <tr> <td class="td1">1</td> <t 阅读全文
posted @ 2016-09-26 19:25 珠珠儿 阅读(289) 评论(0) 推荐(0) 编辑