
css常用样式
小啾玖
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
字体锯齿 font-smoothing
CSS3里面加入了一个“-webkit-font-smoothing”属性。它有三个属性:none ------ 在ios系统中,字体会显示锯齿,安卓不会有subpixel-antialiased ------默认值antialiased ------抗锯齿很好...原创 2020-06-04 10:38:46 · 562 阅读 · 0 评论 -
pc端的网站在手机浏览器中显示宽度偏小
添加一段cssbody, html { min-width: 1350px; width: 100%; overflow-x: hidden;}原创 2020-04-07 16:36:39 · 506 阅读 · 0 评论 -
rem,em换算
js部分代码,先引入jqvar window_width = 750;//设计稿的宽为750px时var window_size = 100;(function () { $.fn.autoSize = function (options) { options = $.extend({}, $.fn.autoSize.defaults, options || {}); a...原创 2020-03-27 15:32:35 · 466 阅读 · 0 评论 -
简单的使用css画勾、叉、三角、大于号
勾.gou{ width: 9px; height: 18px; border-right:2px solid #f39800; border-bottom:2px solid #f39800; transform: rotate(40deg);}叉.cha{ width: 20px; height: 20px; margin: auto; position: rela...原创 2018-11-27 11:54:19 · 13210 阅读 · 0 评论 -
对于pre的使用
解决不转行问题pre{ display: block; width:100%; font-family: -moz-fixed; white-space: pre-wrap; margin: 1em 0;}原创 2018-11-24 14:36:29 · 360 阅读 · 0 评论 -
修改select
一、设置第一个选项为提示信息,不可选,在隐藏选项的同时,修改select字体颜色<select> <option value="0" style="display: none;" disabled selected>请选择就业类别</option&原创 2019-02-16 13:53:58 · 418 阅读 · 0 评论 -
常用的样式修改
1、textarea去掉右下角三角图标textarea{resize:none}原创 2019-06-11 11:10:28 · 216 阅读 · 0 评论