大鱼吃小鱼 像素鱼 fishy bits 2破解版有没有好心人分享一下的_百度知...

发布网友

我来回答

2个回答

懂视网

今天给大家介绍一款仿ios7的switches开关按钮。这款按钮也是纯css实现的。无需引js代码。在实现中给出了两种颜色,三种不同大小的demo。一起看下效果图:

在线预览 源码下载

实现的代码。

html代码:

  

iOS 7 style switches with CSS

By Bandar Raffah

css代码:

 input[type="checkbox"] {  position: absolute;  opacity: 0; }  /* Normal Track */ input[type="checkbox"].ios-switch + div {  vertical-align: middle;  width: 40px;  height: 20px;  border: 1px solid rgba(0,0,0,.4);  border-radius: 999px;  background-color: rgba(0, 0, 0, 0.1);  -webkit-transition-duration: .4s;  -webkit-transition-property: background-color, box-shadow;  box-shadow: inset 0 0 0 0px rgba(0,0,0,0.4);  margin: 15px 1.2em 15px 2.5em; }  /* Checked Track (Blue) */ input[type="checkbox"].ios-switch:checked + div {  width: 40px;  background-position: 0 0;  background-color: #3bec;  border: 1px solid #0e62cd;  box-shadow: inset 0 0 0 10px rgba(59,137,259,1); }  /* Tiny Track */ input[type="checkbox"].tinyswitch.ios-switch + div {  width: 34px;  height: 18px; }  /* Big Track */ input[type="checkbox"].bigswitch.ios-switch + div {  width: 50px;  height: 25px; }  /* Green Track */ input[type="checkbox"].green.ios-switch:checked + div {  background-color: #00e359;  border: 1px solid rgba(0, 162, 63,1);  box-shadow: inset 0 0 0 10px rgba(0,227,,1); }  /* Normal Knob */ input[type="checkbox"].ios-switch + div > div {  float: left;  width: 18px;  height: 18px;  border-radius: inherit;  background: #ffffff;  -webkit-transition-timing-function: cubic-bezier(.54,1.85,.5,1);  -webkit-transition-duration: 0.4s;  -webkit-transition-property: transform, background-color, box-shadow;  -moz-transition-timing-function: cubic-bezier(.54,1.85,.5,1);  -moz-transition-duration: 0.4s;  -moz-transition-property: transform, background-color;  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(0, 0, 0, 0.4);  pointer-events: none;  margin-top: 1px;  margin-left: 1px; }  /* Checked Knob (Blue Style) */ input[type="checkbox"].ios-switch:checked + div > div {  -webkit-transform: translate3d(20px, 0, 0);  -moz-transform: translate3d(20px, 0, 0);  background-color: #ffffff;  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1); }  /* Tiny Knob */ input[type="checkbox"].tinyswitch.ios-switch + div > div {  width: 16px;  height: 16px;  margin-top: 1px; }  /* Checked Tiny Knob (Blue Style) */ input[type="checkbox"].tinyswitch.ios-switch:checked + div > div {  -webkit-transform: translate3d(16px, 0, 0);  -moz-transform: translate3d(16px, 0, 0);  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1); }  /* Big Knob */ input[type="checkbox"].bigswitch.ios-switch + div > div {  width: 23px;  height: 23px;  margin-top: 1px; }  /* Checked Big Knob (Blue Style) */ input[type="checkbox"].bigswitch.ios-switch:checked + div > div {  -webkit-transform: translate3d(25px, 0, 0);  -moz-transform: translate3d(16px, 0, 0);  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1); }  /* Green Knob */ input[type="checkbox"].green.ios-switch:checked + div > div {  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 162, 63,1); }  /* Needless Page Decoration */ body {  -webkit-user-select: none;  cursor: default;  font: 18px "Helvetica Neue";  color: rgba(0, 0, 0, 0.77);  font-weight: 200;  padding-left: 30px;  padding-top: 0px;  background: -webkit-linear-gradient(top, #f2fbff 0%, #ffffff %) no-repeat;  background: -moz-linear-gradient(top, #f2fbff 0%, #ffffff %) no-repeat;  background: -ms-linear-gradient(top, #f2fbff 0%, #ffffff %) no-repeat;  background: linear-gradient(to bottom, #f2fbff 0%, #ffffff %) no-repeat; } h1 {  font-weight: 100;  font-size: 40px;  color: #135ae4; } h2 {  font-weight: 200;  font-size: 22px;  color: #03b000; } h3 {  font-weight: 200;  font-size: 18px;  color: rgba(0, 0, 0, 0.77);  margin-top: 50px; } a:link {  text-decoration: none;  color: #f06; } a:visited {  text-decoration: none;  color: #f06; } a:hover {  text-decoration: underline; } a:active {  text-decoration: underline; }

热心网友

像素鱼2(Fishy Bits 2)是一款十分休闲有趣像素风格仿IO类手游,也是继前作《像素鱼》后的又一款全新作品。

像素鱼2破解版

说明:游戏已完成破解,强制修改金币使用数量不减反增。

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com