css
logspool
这个作者很懒,什么都没留下…
展开
-
css中background和 background-color 同时使用的优先级
给背景图片设置,一个默认背景颜色,有以下两种方法:<style> .bg1{ background:url(http://debug.itxst.com/img/logo.png) red no-repeat; height:80px;width:1000%; } .bg2{ background:url(http://debug.itxs...原创 2019-05-10 23:15:10 · 3626 阅读 · 0 评论 -
ios html5头部无法固定的问题(安卓正常)
需求:头部菜单导航固定,中间正文可以拉动,在安卓手机正常,在ios上下拉的时候头部被带下来,有卡顿用户体验也不会,解决方法如下: 有问题的布局代码<div class="page"><div class="header">头部固定</div><div>正文</div></div>&l...原创 2019-05-10 23:19:48 · 279 阅读 · 0 评论 -
rowStyle设置Bootstrap Table行样式
日常开发中我们通常会用到隔行变色来美化表格,也会根据每行的数据显示特定的背景颜色,如果库存低于100的行显示红色背景CSS样式<style>.bg-blue { background-color: #0074D9 !important;}.bg-green { background-color: green !important;}.bg-red {...转载 2019-06-15 06:40:53 · 5217 阅读 · 0 评论