摘要:
<style type="text/css"> .masonry { width: 100%; margin-top: 50px; position:relative; } .item { z-index: 10; transition: 0.25s; overflow: hidden; posit 阅读全文
摘要:
<style> .timediv dl dt span { line-height: 2rem; ; height: 2rem; ; font-weight: bold; display: inline-block; letter-spacing: 2px; } .timediv dl dt em. 阅读全文
摘要:
在紧随<head>后加上<meta content="webkit" name="renderer" />,注意一定是要紧跟<head>便签,不然是不会起作用的,这也是我先前加了这标签没用的原因。 阅读全文
摘要:
<div class="flex-h input"> <label> <span class="musticon" style="color:#fff">*</span> 语言表达能力 </label> <div class="flex-1 tx-r radio"> <input type="rad 阅读全文
摘要:
三角形 .sanjiaoxing{ position: relative; top: 3px; display: inline-block; margin-left: 8px; width: 0; height: 0; border-width: 5px; //宽度 border-style: so 阅读全文
摘要:
<canvas id="xxx" ></canvas> <script> var yyy = document.getElementById('xxx'); var imgsrcmrt = '';var context = yyy.getContext('2d');var lineWidth = 5 阅读全文
摘要:
//除法函数,用来得到精确的除法结果 //说明:javascript的除法结果会有误差,在两个浮点数相除的时候会比较明显。这个函数返回较为精确的除法结果。 //调用:accDiv(arg1,arg2) //返回值:arg1除以arg2的精确结果 function accDiv(arg1,arg2){ 阅读全文
摘要:
var data = [{ "id": 1, "uuid": "FDB585DB-21A0-47F2-A422-4F7E76037915", "deptname": "新舟智能", "parentdeptuuid": "-1", "deptcode": "xzkj", "remark": "备注", 阅读全文
摘要:
下载粒子库,引入到egret资源内, 修改.json 文件,引入粒子库 编码 阅读全文
摘要:
//十六进制颜色值域RGB格式颜色值之间的相互转换 // //十六进制颜色值的正则表达式var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;/*RGB颜色转换为16进制*/String.prototype.colorHex = function(){ var 阅读全文