css公共
2024-10-08 07:57:51
@charset "utf-8";
/* CSS Document */
*{
padding:;
margin:;
}
ul,li{
list-style: none;
}
a{
text-decoration: none;
color: inherit;
}
textarea,input{
outline: none;
border:;
}
textarea{
resize : none;
}
.c-style-clear{
clear: both;
}
.c-style-oth{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
//通过window.screen.width获取屏幕的宽度
var offWidth = window.screen.width / 25; //这里用宽度/25表示1rem取得的px
document.getElementsByTagName("html")[0].style.fontSize = offWidth + 'px'; //把rem的值复制给顶级标签html的font-size
最新文章
- 配置Visual Studio Code在Mac上作为.NET Core的IDE
- C#动态生成html页
- Hadoop入门程序WordCount的执行过程
- iOS之在内存中绘图
- cocos2dx 环境搭建 win7 +vs2012+ cocos2dx-2.1.4
- WF学习笔记(四)
- nodejs读取本地txt文件并输出到浏览器
- mysql 服务启动报1607 error
- reg 正则
- bzoj 2564 集合的面积
- js表单反显
- cocos2dx lua invalid 'cobj' in function 'lua_cocos2dx'
- thinkphp5中使用excel导出数据表格(包涵图片)
- Django --ORM常用的字段和参数 多对多创建形式
- 【PAT】B1084 外观数列(20 分)(纯C)
- PAT甲题题解-1027. Colors in Mars (20)-水。。。
- 前端学习 -- Css -- 样式的继承
- JSON-handle-好玩的google插件
- Quartz大致介绍(一)
- shell 监控磁盘使用率【转】
热门文章
- P1000题解 超级玛丽游戏
- java-标准输入
- 吴裕雄--天生自然 R语言开发学习:集成开发环境\工具RStudio的安装与配置
- XSS攻击解决办法 Spring mvc databinder
- 数字孪生 VS 平行系统
- [CF1303D] Fill The Bag - 贪心
- A Bug's Life____并查集
- pl/sql快速输入select * from等语句快捷键设置
- IDEA构建maven项目生成的文件详解
- 任务调度问题(贪心) hdu4864