BLCL的博客小馆

标签 · Blogbinance币安理财存U年化收益40% !!牛市躺着就是收钱,闲置资金记得放理财!立即注册立享收益!!

首页

关于

归档

CanvasBlog

给Blog增加水印

Foreword 突发奇想,想给没写完的Blog加个水印,表示未完工,谨慎查看 水印 // 页面添加水印效果 const setWatermark = (str,width,height,font) => { const id = 'watermarkbyelmagnifico'; if (document.getElementById(id) !== null) document.body.removeChild(document.getElementById(id)); const can = document.createElement('canvas'); can.width = width; can.height = height; c..

更多