- 博客(2)
- 收藏
- 关注
原创 监听网页缩放情况给元素重新赋值
$(window).resize(function(){ heightCorrection(window);});function heightCorrection(doc){ var documentHeight = $(doc).height(); $(".chat-window").css("height",(documentHeight-1...
2019-02-27 21:33:18 684
原创 rgb转16进制代码
function RGB2Hex(rgb){ var re = rgb.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");//利用正则表达式去掉多余的部分 var hexColor = "#"; var hex = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b'...
2019-02-14 09:57:26 1864 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人