
CSS
文章平均质量分 60
zhanghongbin01
爱生活,爱技术,爱学习,这就是我!欢迎大家和我做朋友哦!
我的博客:https://xlwh.github.io/
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
css媒体查询之width
语法width:<length> 接受min/max前缀:是取值length:用长度值来定义宽度。不允许负值用法说明定义输出设备中的页面可见区域宽度。 与盒模型width不同,媒体特性width的取值只能是。 本特性接受min和max前缀,因此可以派生出min-width和max-width两个媒体特性。 示例<!doctype html> <html> <head> <ti原创 2015-12-30 22:21:36 · 841 阅读 · 0 评论 -
css媒体查询之height
几个典型的应用方式@media (min-height:400px){ … } @media screen and (height:600px){ … } @import url(example.css) screen and (height:800px);应用例子!doctype html> <html> <head> <title>Test media query of原创 2015-12-30 22:31:56 · 731 阅读 · 0 评论 -
css媒体查询之device-width
几个典型的应用例子@media screen and (device-width:1024px){ … } @import url(example.css) screen and (min-device-width:800px); <link media="screen and (min-device-width:300px) and (max-device-width:900px)" rel="s原创 2015-12-30 22:40:53 · 1969 阅读 · 0 评论 -
css过度效果
语法transition:[,]* = [ none | ] || || || 默认值:看每个独立属性 适用于:所有元素,包含伪对象:after和:before 继承性:无 动画性:否 计算值:看每个独立属性 媒体:交互取值<’ transition-property ‘>: 检索或设置对象中的参与过渡的属性 <’ transition-duration ‘>: 检索或原创 2015-12-30 23:19:05 · 1686 阅读 · 0 评论