html5 微信签到墙,3D签到墙 webgl示例源码(three.js)

【实例简介】

【实例截图】

341834df72945e88efb8c614e66f7777.png

33907741b878530ea112d5802934185c.png

4b8a6c8584fe19bda39c5721deeabc98.png

f3a937c4c0aeb808cdcd23098387cdd7.png

【核心代码】

three.js css3d - periodic table

html, body {

height: 100%;

}

body {

background-color: #000000;

margin: 0;

font-family: Helvetica, sans-serif;;

overflow: hidden;

}

a {

color: #ffffff;

}

#info {

position: absolute;

width: 100%;

color: #ffffff;

padding: 5px;

font-family: Monospace;

font-size: 13px;

font-weight: bold;

text-align: center;

z-index: 1;

}

#menu {

position: absolute;

bottom: 20px;

width: 100%;

text-align: center;

}

.element {

width: 100px;/* 120 160 */

height: 100px;

box-shadow: 0px 0px 12px rgba(0,255,255,0.5);

border: 1px solid rgba(127,255,255,0.25);

text-align: center;

cursor: default;

}

.element:hover {

box-shadow: 0px 0px 12px rgba(0,255,255,0.75);

border: 1px solid rgba(127,255,255,0.75);

}

.element img{

width:100px;

height:100px;

}

.element .number {

position: absolute;

top: 20px;

right: 20px;

font-size: 12px;

color: rgba(127,255,255,0.75);

}

.element .symbol {

position: absolute;

top: 40px;

left: 0px;

right: 0px;

font-size: 60px;

font-weight: bold;

color: rgba(255,255,255,0.75);

text-shadow: 0 0 10px rgba(0,255,255,0.95);

}

.element .details {

position: absolute;

bottom: 15px;

left: 0px;

right: 0px;

font-size: 12px;

color: rgba(127,255,255,0.75);

}

button {

color: rgba(127,255,255,0.75);

background: transparent;

outline: 1px solid rgba(127,255,255,0.75);

border: 0px;

padding: 5px 10px;

cursor: pointer;

}

button:hover {

background-color: rgba(0,255,255,0.5);

}

button:active {

color: #000000;

backgr

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值