css媒体查询之height
来源:互联网 发布:杭州淘宝美工培训 编辑:程序博客网 时间:2024/05/17 09:22
几个典型的应用方式
@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 height</title> <style> @media all and (min-height:200px) and (max-height:250px){ body{ background-color:green; } } </style> </head> <body> <h1>This is a test</h1> </body></html>
- 当页面的高度在200px至250px之间的时候,页面的颜色为绿色
0 0
- css媒体查询之height
- css媒体查询之width
- css基础学习之--媒体查询
- css媒体查询之device-width
- CSS媒体查询
- CSS媒体查询
- CSS媒体查询
- CSS媒体查询器
- CSS 媒体查询
- HTML/CSS: 媒体查询
- CSS知识点:媒体查询
- CSS媒体查询
- CSS Media媒体查询
- CSS Media媒体查询
- css媒体查询 @media
- css 媒体查询
- css的媒体查询
- css之line-height
- h5学习笔记(3) 导航菜单
- iOS中的数据持久化方式
- 请求网络下载图片
- 软件测试
- GDI+坐标变换(C#)
- css媒体查询之height
- Android学习犯过的错
- 大数据点滴
- 密钥仓库(证书导入keystore)
- 实现ListView图文混排 —— 获取Json数据
- java 文件处理总结
- 欢迎使用CSDN-markdown编辑器
- LeetCode 124:Binary Tree Maximum Path Sum
- java Pattern和Matcher详解