javascript-jQuery初级教程

<div>123</div>

html,
body {
  height: 100%;
}

body {
  background: #00afe9;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 10;
}

.instructions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 6px;
  padding: 8px;
}

在这里输入代码 可在线演示

2人评论了“javascript-jQuery初级教程”

回复 逸轩 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注

滚动至顶部