BLCL的博客小馆

标签 · Canvasbinance币安理财存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..

更多
loading..
技术Canvas

画一颗圣诞树🎄

JUST FOR FUN初始化新建页面,添加一个 canvas 元素,引入 css, js 文件12345678910111213html><html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Christmas Treetitle> <link rel="stylesheet" href="style.css" /> head> <body> <canvas i..

更多