上一页 1 ··· 13 14 15 16 17
摘要: 在样式里的div需要先写动画名如aa,animation:aa 10s(动画时长),infinite(无限循环) 1、@keyframes规则用于创建动画。在@keyframes中规定某项CSS样式,就能创建由当前样式逐渐改为新样式的动画效果2、使用animation进行动画捆绑。两个值:动画名称、 阅读全文
posted @ 2018-04-02 14:37 韩凯 阅读(97) 评论(0) 推荐(0) 编辑
摘要: width: 500px; height: 500px; border: 1px solid red; border-top: 1px solid black; border-bottom: 1px solid cyan; border-left: 1px solid brown; backgrou 阅读全文
posted @ 2018-04-02 14:33 韩凯 阅读(139) 评论(0) 推荐(0) 编辑
摘要: title下面先清除固有格式 style{ *{ margin:0 auto padding:0 foant family } } div{ width height border background-color background-image background-size } 阅读全文
posted @ 2018-04-02 14:32 韩凯 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1、b、i、u的使用 2、p标签的使用 3、无序、有序列表 ol ul type4、div、span的认识5、h1~h66、a标签的三个作用 href="链接的地址" first:name ="top" second: href="#top" href="指向的文件地址"7、img的属性 src w 阅读全文
posted @ 2018-03-28 17:24 韩凯 阅读(55) 评论(0) 推荐(0) 编辑
摘要: img标签自带有3px的空隙,有很多解决方法第一种:设置img{font-size:0}第二种:设置img{display:block}第三种:设置img{vertical-align:top/middle};推荐使用第二种。第三种也比较常用 阅读全文
posted @ 2018-03-28 11:59 韩凯 阅读(208) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17