html5划光,HTML5 Canvas光线跟踪

CSS

语言:

CSSSCSS

确定

body {

background: #111;

color: rgba(255, 255, 240, 0.4);

font-size: 16px;

font-family: sans-serif;

}

h1 {

color: #fffff0;

font-size: 20px;

padding: 0 0 0.25em 0;

margin: 0;

}

#centerColumn {

width: 1024px;

margin: 0 auto;

}

#workspace {

width: 1024px;

height: 576px;

border: 1px solid #444;

background: black;

position: relative;

}

#workspace canvas {

position: absolute;

left: 0;

top: 0;

width: 100%;

height: 100%;

}

#leftColumn {

position: absolute;

left: -92px;

top: -1px;

width: 88px;

display: none;

}

#rightColumn {

position: absolute;

left: 1028px;

top: -1px;

width: 86px;

display: none;

}

#leftColumn .sep {

display: block;

text-align: center;

color: #444;

}

#help {

position: absolute;

display: none;

left: 0;

right: 0;

bottom: 0;

height: 33%;

text-align: center;

font-size: 48px;

color: rgba(0, 0, 0, 0.8);

}

#notsupported {

position: absolute;

display: block;

left: 0;

right: 0;

bottom: 0;

height: 75%;

text-align: center;

}

#notsupported p {

font-family: 'Verdana', sans-serif;

font-size: 20px;

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

}

.ui-box {

position: relative;

background: rgba(0, 0, 0, 0.5);

border: 1px solid #222;

border-radius: 3px;

font-size: 12px;

font-family: 'Verdana', sans-serif;

margin: 0 0 1px 0;

padding: 4px;

cursor: pointer;

white-space: nowrap;

-moz-user-select: none;

-khtml-user-select: none;

-webkit-user-select: none;

user-select: none;

}

.ui-active {

background: #d79e43;

color: #000;

border: 1px solid #555;

border-radius: 3px;

}

.ui-inactive:hover {

background: #222;

color: #fff;

}

.ui-hslider {

position: absolute;

left: 0;

top: 0;

height: 100%;

width: 50px;

background: #d79e43;

z-index: -1;

}

.glyph {

float: left;

width: 16px;

padding: 0 2px 0 0;

text-align: center;

}

.hbox {

padding: 0.25em 0;

}

.hbox .label {

padding: 0 0.5em 0 0;

color: rgba(255, 255, 240, 0.2);

}

.hbox .sep {

padding: 0 0.5em;

color: rgba(255, 200, 200, 0.2);

}

#colophon {

float: right;

padding: 4px;

font-size: 12px;

font-family: 'Verdana', sans-serif;

}

a {

text-decoration: none;

color: rgba(255, 255, 200, 0.2);

}

a:hover {

text-decoration: none;

color: rgba(255, 255, 200, 0.5);

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值