梦
3年前
图片放大显示全屏
html代码<divid"outerdiv"style"position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);zindex:2;width:100%;height:100%;display:none;"<divid"innerdiv"style"position:abs
馒头老爸 馒头老爸
3年前
原来CSS的background还可以这么玩
身为一个前端开发者,背景是开发中的常客。大到整个网站的主题背景,小到一个按钮的背景。CSS的background属性基本上每天开发都会遇到,绝大多数情况下我们都只会使用到了纯色背景或者图片背景。如果你想让你开发的内容看起来更加生动有趣,通过本文让你用纯CSS也可以开发出炫酷的背景。开始之前在开始之前,先请你回答下面的问题,如果你能全部回答
Wesley13 Wesley13
2年前
.clear 万能清除浮动
htmlbodydiv.clear,htmlbodyspan.clear{background:none;border:0;clear:both;display:block;float:none;
Stella981 Stella981
2年前
Element header
方式1:  直接在标签上添加上属性值:<eltable:headercellstyle"{background:'F3F4F7',color:'555'}"</eltable方式2:  在method里面写上方法:rowClass({row,rowIndex}){
Stella981 Stella981
2年前
CSS之border绘制三角形
用CSS的border可以画出高质量的三角形。我们一般会这么使用border:testborder{width:100px;height:100px;margin:100pxauto;background:fff;border:2px
Stella981 Stella981
2年前
Android添加横线和竖线分割界面
竖线<View    android:layout\_width"1dip"    android:layout\_height"match\_parent"   android:background"66CCFF"   android:layout\_gravity"center\_horizontal"
Stella981 Stella981
2年前
SVG Loading
一、SVGLoading<divstyle"width:40px;height:40px;background:eee;"<svgxmlns"http://www.w3.org/2000/svg"viewBox"00100100"preserveAspectRatio"xMidYMid"clas
Stella981 Stella981
2年前
CSS从大图中抠取小图完整教程(background
相信很多喜欢研究网页界面的童鞋都遇到过一个奇妙的现象:网页中很多图片素材被合成在一张图片上。起初小菜模仿网站的时候,经常遇到这个现象,那时候也不知道这时什么技术,人家的整张图片素材不会利用,只能用ps切图,切成单个的再用。。。其实,这是一个非常简单的技术,就是因为想象的太难了,才一直找不到问题的关键。要想实现CSS抠图,只需要用到一个属性:bac
Easter79 Easter79
2年前
SVG Loading
一、SVGLoading<divstyle"width:40px;height:40px;background:eee;"<svgxmlns"http://www.w3.org/2000/svg"viewBox"00100100"preserveAspectRatio"xMidYMid"clas
Wesley13 Wesley13
2年前
MongoDB索引
创建索引 ensureIndexdb.scores.ensureIndex({"studentId":1},{"name":"idx_scores_st","background":1});查看索引 getIndexesdb.scores.getIndexes();!(https://oscimg.osch