
css
文章平均质量分 77
一梦醉殇
这个作者很懒,什么都没留下…
展开
-
css滚动条
CSS3自定义滚动条header{ font-family: 'Lobster', cursive; text-align: center; font-size: 25px; }#info{ font-size: 18px; color: #555; text-align: center; ma转载 2017-12-26 11:12:03 · 141 阅读 · 0 评论 -
CSS动画库
@charset "UTF-8";/*! * animate.css -http://daneden.me/animate * Version - 3.5.2 * Licensed under the MIT license - http://opensource.org/licenses/MIT * * Copyright (c) 2017 Daniel Eden转载 2018-01-02 08:41:13 · 506 阅读 · 0 评论 -
CSS3选择器
1、属性选择器:p[index]{background:red} //只使用属性名,但没有确定任何属性值p[index=1]{background:red} //指定属性名,并指定了该属性的属性值p[index~=pre]{background:red} //指转载 2018-01-02 08:48:17 · 156 阅读 · 0 评论 -
导航栏
导航栏*{padding: 0px;margin: 0px;}.nav_mainbav{width: 100%;background-color: rgba(191,171,134,0.3);}.subnav{width: 1000px;margin:0 auto; }.subnav ul li{list-style: none;float: left;background:#转载 2018-01-23 09:05:58 · 333 阅读 · 0 评论 -
css资料整理(更新中)
1、 页面导入样式时,使用link和@import有什么区别? (1)link属于XHTML标签,除了加载CSS外,还能用于定义RSS, 定义rel连接属性等作用;而@import是CSS提供的,只能用于加载CSS; (2)页面被加载的时,link会同时被加载,而@import引用的CSS会等到页面被加载完再加载; (3)import是CSS2.1 提出的,只在IE5以上才能被识别,而link是X...转载 2018-02-26 10:18:08 · 1009 阅读 · 0 评论