在线电视html5,HTML5电视机开关动画

CSS

语言:

CSSSCSS

确定

@import url('https://fonts.googleapis.com/css?family=Righteous');

body {

width: 50%;

margin: auto;

margin-top: 25px;

background: #e7e0a3;

}

p {

margin-left: 20px;

margin-top: 120px;

font-size: 2em;

color: yellow;

text-transform: uppercase;

}

.flx {

display: -webkit-box;

display: -ms-flexbox;

display: flex;

display: -webkit-flex;

-webkit-box-align: center;

-webkit-align-items: center;

-ms-flex-align: center;

align-items: center;

-webkit-box-pack: center;

-webkit-justify-content: center;

-ms-flex-pack: center;

justify-content: center;

}

.tv {

position: fixed;

width: 575px;

height: 380px;

padding-bottom: 20px;

background: #282430;

border: 2px solid #000;

}

.tv:before {

content: '';

position: absolute;

display: block;

height: 30px;

width: 50px;

top: 100%;

left: 50%;

margin-left: -25px;

background-color: #000;

box-shadow: inset 0px 10px 10px -10px rgba(0, 0, 0, 1);

}

.tv:after {

content: '';

position: absolute;

display: block;

border-bottom: 12px solid #000;

border-left: 10px solid transparent;

border-right: 10px solid transparent;

height: 0;

width: 180px;

top: 100%;

left: 50%;

margin-left: -100px;

margin-top: 30px;

}

.name {

position: absolute;

left: 72px;

top: 5px;

width: 80px;

height: 10px;

}

.name:after {

content: "TWAIN TV";

font-size: 12px;

font-family: 'Righteous', cursive;

color: white;

}

.switch {

position: absolute;

left: 475px;

top: 365px;

width: 30px;

height: 30px;

}

button {

width: 15px;

height: 15px;

background: #ff0000;

border-radius: 50%;

}

.wrapper {

width: 420px;

height: 320px;

background: black;

color: yellow;

border: 7px inset #464646;

border-radius: 10px;

}

.smallunit {

background: black;

float: left;

width: 10px;

height: 10px;

}

.unit {

float: left;

width: 60px;

height: 100px;

}

.unit2 {

float: left;

width: 60px;

height: 40px;

}

.unit3 {

float: left;

width: 70px;

height: 40px;

}

.unitlong {

float: left;

width: 300px;

height: 40px;

background: #000;

color: #fff;

font-family: Arial;

font-size: 32px;

line-height: 40px;

text-align: center;

}

.unitlong:after {

content: "PLEASE STAND BY";

}

.gry {

background: #CCCCCC;

}

.yel {

background: #FFFF01;

}

.cya {

background: #08F8FF;

}

.lim {

background: #09F804;

}

.grn {

background: #OOFF00;

}

.pnk {

background: #F707FE;

}

.red {

background: #F10402;

}

.blu {

background: #0100FE;

}

.blk {

background: black;

}

.whi {

background: white;

}

.gry1 {

background: #404040;

}

.gry2 {

background: #505050;

}

.gry3 {

background: #606060;

}

.gry4 {

background: #707070;

}

.gry5 {

background: #808080;

}

.gry6 {

background: #A0A0A0;

}

.gry7 {

background: #C0C0C0;

}

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值