html5桌面背景,HTML5界面背景色选择器界面模板

CSS

语言:

CSSSCSS

确定

@charset "UTF-8";

* {

font-family: 'Source Sans Pro', sans-serif;

margin: 0;

padding: 0;

}

body {

background: #B7B7B7;

}

h1 {

color: gray;

text-align: center;

}

h2 {

color: #ededed;

text-align: center;

}

span {

color: gray;

text-align: center;

display: block;

margin-top: 20px;

}

.tooltip {

position: absolute;

bottom: 110px;

left: 370px;

font-weight: 600;

}

img {

position: absolute;

bottom: 30px;

left: 200px;

transform: rotate(120deg);

width: 150px;

opacity: .5;

}

.head {

background: #292D43;

font-family: 'Source Sans Pro', sans-serif;

font-weight: 200;

color: #fff;

font-size: 13px;

font-weight: bold;

height: 30px;

position: relative;

width: 190px;

padding: 10px 0px 0px 10px;

}

.head #expandcolors {

position: absolute;

margin-top: -2px;

right: 10px;

background: none;

border: none;

color: white;

opacity: 0.5;

transition: .5s ease-in-out;

cursor: pointer;

-webkit-transform: rotate(45deg);

-moz-transform: rotate(45deg);

-ms-transform: rotate(45deg);

-o-transform: rotate(45deg);

transform: rotate(45deg);

transition: .5s ease-in-out;

}

.head #expandcolors:focus {

outline: 0;

}

.transform {

-webkit-transform: rotate(0deg) !important;

-moz-transform: rotate(0deg) !important;

-ms-transform: rotate(0deg) !important;

-o-transform: rotate(0deg) !important;

transform: rotate(0deg) !important;

transition: .5s ease-in-out;

}

.wrap {

background: white;

-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);

-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);

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

position: fixed;

bottom: 0;

left: 20px;

max-width: 200px;

}

.colors {

background: #31364E;

list-style-type: none;

margin: 0;

max-height: 1000px;

overflow: hidden;

padding: 5px;

transition: max-height .5s ease-in;

}

.colors li {

background: none;

cursor: auto;

display: inline-block;

height: 31px;

margin: 0 -4px 0 0;

padding: 10px 0;

text-align: center;

width: 25%;

}

.colors li:hover .color {

box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), 0 0 0 2px rgba(205, 205, 205, 0.9);

transform: scale(1.05);

}

.colors li.selected .color {

opacity: .9;

position: relative;

transform: scale(1.25);

}

.colors li.selected .color::after {

color: azure;

content: '✓';

height: 100%;

left: 0;

line-height: 34px;

position: absolute;

text-indent: 0;

width: 100%;

}

.colors .color {

border-radius: 100%;

cursor: pointer;

height: 33px;

margin: 0 auto;

text-indent: -9999px;

-webkit-transition: all 0.5s ease;

transition: all 0.5s ease;

width: 33px;

}

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值