怎么做网站给国外看见,wordpress 插件 教程,wordpress栏目标题被调用,上海优化公司排行榜交互式3D魔方
3D魔方游戏是一款基于网页技术的三维魔方游戏。它利用HTML、CSS和JavaScript前端技术来实现3D效果#xff0c;并在网页上呈现出逼真的魔方操作体验。 运行效果#xff1a; 一#xff1a;index.html
!DOCTYPE html
htmlhead…交互式3D魔方
3D魔方游戏是一款基于网页技术的三维魔方游戏。它利用HTML、CSS和JavaScript前端技术来实现3D效果并在网页上呈现出逼真的魔方操作体验。 运行效果 一index.html
!DOCTYPE html
htmlheadmeta charsetutf-8meta nameviewport contentwidthdevice-width, user-scalableno, minimum-scale1.0, maximum-scale1.0link relstylesheet typetext/css hrefstyles/cube.csslink relstylesheet typetext/css hrefstyles/doodle2.csslink relstylesheet typetext/css hrefstyles/certificate2.cssscript charsetutf-8 srcscripts/tween.r12.js/scriptscript charsetutf-8 srcscripts/three.js/scriptscript charsetutf-8 srcscripts/cuber.min.js/script/headbodydiv idbg/divdiv idcontainer/divdiv idfailimg srcmedia/static-cube.png/div idupgradeText classbubble fadeTransitiondiv classupgradetextTo play, please use a supported hardware configuration and the latest version of one of these browsers:/divbra classupgradetext hrefhttps://www.google.com/chrome/browser/ target_blankChrome/abra classupgradetext hrefhttps://www.mozilla.org/firefox target_blankFirefox/abra classupgradetext hrefhttps://www.apple.com/safari target_blankSafari/abrspan classpointerleft SPRITE_carrot_down_2x/span/div/divdiv iduipanel classfadeTransition styledisplay:nonediv idmovecounter0/divdiv idbuttonpaneldiv idsharebubble classfadeTransition styleopacity:0input idshareshortlink typetext valuegoogle.com/doodles readonly/div idsharegplus classbubbleicon SPRITE_google_plus_64_2x/divdiv idsharefacebook classbubbleicon SPRITE_facebook_64_2x/divdiv idsharetwitter classbubbleicon SPRITE_twitter_64_2x/divdiv idshareemail classbubbleicon SPRITE_email_64_2x/div/divdiv iduibuttonsdiv idsharebutton classbubbleicon SPRITE_share_64_2x/divdiv idhelpbutton classbubbleicon SPRITE_help_64_2x/divdiv idsearchbutton classbubbleicon SPRITE_search_64_2x/div/div/divdiv idhelpbubble classbubble styledisplay:nonespan classpointerup SPRITE_carrot_grey_up_2x/spandiv idhelpimage classone/divdiv idhelptext classhelptext/divdiv idhelpnext classhelptext/divspan classpointerdown SPRITE_carrot_down_2x/spanbr/div/divscript charsetutf-8 srcscripts/iecss3d.js/scriptscript charsetutf-8 srcscripts/ierenderer.js/scriptscript charsetutf-8 srcscripts/deviceMotion.js/scriptscript charsetutf-8 srcscripts/locked.js/scriptscript charsetutf-8 srcscripts/textBox.js/scriptscript charsetutf-8 srcscripts/ResizeableTextBox.3.js/scriptscript charsetutf-8 srcscripts/divBox.js/scriptscript charsetutf-8 srcscripts/frames.js/scriptscript charsetutf-8 srcscripts/certificate.js/scriptscript charsetutf-8 srcscripts/main3.js/script/body
/html二styles包
1cube.css
.cube {width: 100%;height: 100%;
}
.faceLabel {display: none;position: absolute;font-size: 60px;text-align: center;text-shadow: 0 0 24px rgba( 0, 0, 0, 0.3 );color: #FFF;
}
.cube .cubelet {width: 1em;height: 1em;position: absolute;box-sizing: border-box;
}
.cube .face {position: absolute;width: 1em;height: 1em;background-color: #000;text-align: center;-webkit-backface-visibility: hidden;-moz-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden;padding: 0.05em;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;-o-box-sizing: border-box;-ms-box-sizing: border-box;box-sizing: border-box;
}
.cube .face.faceIntroverted { background-color: #000; }
.cube .face.faceTransparent { background-color: transparent; }
.purty .face { opacity: 0.5; }
.purty .face.faceFront { background-color: #FFF; }
.purty .face.faceUp { background-color: #E87000; }
.purty .face.faceRight { background-color: #3D81F6; }
.purty .face.faceDown { background-color: #DC422F; }
.purty .face.faceLeft { background-color: #009D54; }
.purty .face.faceBack { background-color: #F5B400; }
.cube .face .wireframe {display: none;position: absolute;width: 140px;height: 140px;background-color: rgba( 255, 255, 255, 0.05 );
}
.cube .sticker {width: 100%;height: 100%;background-color: #F0F;border-radius: 0.1em;text-align: center;
}
.cube .sticker.red { background: #DC422F; }
.cube .sticker.white { background: #F3F3F3; }
.cube .sticker.blue { background: #3D81F6; }
.cube .sticker.green { background: #009D54; }
.cube .sticker.orange { background: #E87000; }
.cube .sticker.yellow { background: #F5B400; }
.cube .sticker.stickerLogo {background-size: 100% 100%;background-repeat: none;
}
.cube .face .id {display: none;position: absolute;z-index: 1000;width: 90%;height: 90%;font-size: 1em;line-height: 0.9em;text-align: center;color: #000;
}
.cube .face .id .underline {border-bottom: 1px solid #000;
}
.cube .face.faceIntroverted .id {color: #FEFEFE;
}
.cube .face.faceIntroverted .id .underline {border-bottom: 1px solid #FEFEFE;
}
.cube .face .text {display: none;position: absolute;z-index: 2000;width: 100%;height: 100%;text-align: center;color: #FFF;font-size: 1em;line-height: 1em;
}2certificate2.css
#certName, #certSolved{width: 1100px;color: #DC422F;padding: 20px;font-family: Rubik One, Arial, sans-serif;font-size: 180px;text-align: center;line-height: .97em;text-transform: uppercase;
}
#certDate, #certMovesHeader, #certTimeHeader, #certName, #certSolved, #certTimeNumber, #certMovesNumber{-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;cursor: default;
}
#certDate{width: 1000px;color: #000;padding: 20px;font-family: Rubik One, Arial, sans-serif;text-transform: uppercase;font-size: 110px;text-align:center;line-height: .8em;
}
#certMovesHeader, #certTimeHeader {width: 1000px;color: #000;padding: 20px;font-family: Rubik One, Arial, sans-serif;text-transform: uppercase;font-size: 90px;text-align: center;line-height: .8em;
}
#certTimeNumber, #certMovesNumber{width: 1000px;color: #3D81F6;padding: 20px;font-family: Rubik One, Arial, sans-serif;font-size: 180px;text-align: center;line-height: 1.0em;text-transform: uppercase;
}
#certLarryName, #certErnoName{width: 1000px;color: #FF6C00;padding: 20px;font-family: Rubik One, Arial, sans-serif;font-size: 80px;text-align: center;line-height: 1.0em;
}
#larrySignature{width: 1000px;height: 300px;background-size: 700px 210px;background-repeat:no-repeat;background-position:center;
}
#ernoSignature{width: 1000px;height: 300px;background-size: 700px 210px;background-repeat:no-repeat;background-position:center;
}
#lineLeft, #lineRight{width: 1000px;height: 10px;background-color: #000;display: inline-block;background-repeat: no-repeat;background-position: 100px 100px;
}
.logoFace {width: 100%;height: 100%;display: block;z-index: 1000;background-size: 100% 100%;background-repeat: none;top: 0px;right: 1px;position: absolute;-webkit-transform: rotate(90deg);-moz-transform: rotate(90deg);-o-transform: rotate(90deg);-ms-transform: rotate(90deg);transform: rotate(90deg);
}
.faceDown .logoFace.ie{-webkit-transform: rotate(180deg);-moz-transform: rotate(180deg);-o-transform: rotate(180deg);-ms-transform: rotate(180deg);transform: rotate(180deg);
}
.cube .sticker.red { background: #DC422F; }
.cube .sticker.white { background: #FFFFFF; }
.cube .sticker.blue { background: #3D81F6; }
.cube .sticker.green { background: #009D54; }
.cube .sticker.orange { background: #FF6C00; }
.cube .sticker.yellow { background: #FDCC09; }
.textBox_IE{z-index: 10;top:0;
}3doodle2.css
html {height: 100%;
}
body {background-color: #fff;display: inline;font-family: arial, sans-serif;font-size: 13px;height: 100%;line-height: 40px;margin: 0;vertical-align: baseline;-moz-user-select:-moz-none;-ms-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;
}
#fail {position: absolute;display: none;top: 50%;left: 50%;margin-left: -288px;margin-top: -117px;
}
media not screen and (-webkit-transform-3d){#container {visibility: hidden;}#fail {display: block;}
}
#bg {background-color: #fff;font-family: arial, sans-serif;font-size: 13px;height: 100%;line-height: 40px;margin: 0;position: absolute;width: 100%;
}
.graydient {background: #000;background: -moz-radial-gradient(center,ellipse cover,#444 0%,#000000 90%);background: -webkit-gradient(radial,center center,0px,center center,100%,color-stop(0%,#444),color-stop(90%,#000000));background: -webkit-radial-gradient(center,ellipse cover,#444 0%,#000000 90%);background: -o-radial-gradient(center,ellipse cover,#444 0%,#000000 90%);background: -ms-radial-gradient(center,ellipse cover,#444 0%,#000000 90%);background: radial-gradient(ellipse at center,#444 0%,#000000 90%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr#444444,endColorstr#000000,GradientType1 );
}
.grey {background: #555;
}
.white {background: #FFF;
}
#container {cursor: pointer;height: 100%;overflow: hidden;width: 100%;position:relative;
}
.text {font-size: 200;
}
.text.textDown { color: #DC422F; }
.text.textBack { color: #F5B400; }
.text.textRight { color: #3D81F6; }
.shadow {pointer-events: none;position: absolute;width: 120px;height: 120px;background: black;box-shadow: 0 0 100px 80px black;opacity: 0.06;-webkit-transition: opacity 1s;-moz-transition: opacity 1s;-ms-transition: opacity 1s;-o-transition: opacity 1s;transition: opacity 1s;
}
.bubble {background: #fff;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;border: 3px solid black;bottom: 4px;line-height: normal;padding: 16px;position: absolute;right: 0;
}
.mobile .bubble {background: #000;border: 2px solid #555;bottom: auto;position: absolute;right: 0;top: 44px;
}
.pointerdown {bottom: -15px;display: block;height: 15px;margin: 0 0 0 -5px;outline: none;position: absolute;right: 42px;
}
.mobile .pointerdown {display: none;
}
.pointerup {display: none;
}
.mobile .pointerup {top: -15px;display: block;outline: none;position: absolute;right: 68px;
}
.bubbleicon {cursor: pointer;display: inline-block;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
}
.fadeTransition {-webkit-transition: opacity 250ms;-moz-transition: opacity 250ms;-ms-transition: opacity 250ms;-o-transition: opacity 250ms;transition: opacity 250ms;
}
#sharebubble {display: inline-block;vertical-align: bottom;
}
#uibuttons {display: inline-block;
}
#buttonpanel {line-height: normal;position: absolute;right: 0;
}
#shareshortlink {background: #ddd;border: none;color: #fff;font-weight: bold;margin: 0;outline: none;padding: 10px;vertical-align: top;width: 120px;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;
}
#shareshortlink::-ms-clear {display: none;
}
#uipanel {bottom: 40px;height: 32px;margin: 0 auto;opacity: 0;position: relative;width: 572px;
}
.mobile #uipanel {bottom: auto;top: 4px;right: 4px;width: 100%;position: absolute;
}
#movecounter {bottom: -8px;color: #ddd;display: inline-block;font-family: Rubik One;font-size: 14pt;left: 0;position: absolute;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;cursor: default;
}
.mobile #movecounter {bottom: auto;top: 0;color: #555;padding: 4px 20px;font-size: 16pt;font-weight: bold;
}
.upgradetext, .helptext {font-family: arial;font-size: 12pt;font-weight: bold;width: 120px;color: #999;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;cursor: default;
}
.helptext {font-family: arial;font-size: 12pt;font-weight: bold;width: 200px;color: #999;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;cursor: default;
}
#helpnext {padding-top: 10px;cursor: pointer;
}
#helpimage{width:160px;height: 123px;background-size:160px 123px;
}
#helpimage.one{width:140px;height: 100px;background-size:140px 100px;
}
#helpimage.two{width:140px;height: 100px;background-size:140px 100px;
}注意
由于博客字数限制本篇文章所展示的代码并不全面仅可供参考之用。关于本项目的完整代码及其素材已上传至资源大家自行去下载就好 文章转载自: http://www.morning.knngw.cn.gov.cn.knngw.cn http://www.morning.spnky.cn.gov.cn.spnky.cn http://www.morning.ryxdf.cn.gov.cn.ryxdf.cn http://www.morning.qlsyf.cn.gov.cn.qlsyf.cn http://www.morning.mznqz.cn.gov.cn.mznqz.cn http://www.morning.zpnfc.cn.gov.cn.zpnfc.cn http://www.morning.hrtct.cn.gov.cn.hrtct.cn http://www.morning.khntd.cn.gov.cn.khntd.cn http://www.morning.wfbs.cn.gov.cn.wfbs.cn http://www.morning.wwsgl.com.gov.cn.wwsgl.com http://www.morning.lzrpy.cn.gov.cn.lzrpy.cn http://www.morning.fnrkh.cn.gov.cn.fnrkh.cn http://www.morning.wklhn.cn.gov.cn.wklhn.cn http://www.morning.mkxxk.cn.gov.cn.mkxxk.cn http://www.morning.pqcbx.cn.gov.cn.pqcbx.cn http://www.morning.xwlmr.cn.gov.cn.xwlmr.cn http://www.morning.msgrq.cn.gov.cn.msgrq.cn http://www.morning.cthkh.cn.gov.cn.cthkh.cn http://www.morning.kjawz.cn.gov.cn.kjawz.cn http://www.morning.yrgb.cn.gov.cn.yrgb.cn http://www.morning.gthwz.cn.gov.cn.gthwz.cn http://www.morning.tkzqw.cn.gov.cn.tkzqw.cn http://www.morning.czzpm.cn.gov.cn.czzpm.cn http://www.morning.tkjh.cn.gov.cn.tkjh.cn http://www.morning.pclgj.cn.gov.cn.pclgj.cn http://www.morning.zylrk.cn.gov.cn.zylrk.cn http://www.morning.bmmhs.cn.gov.cn.bmmhs.cn http://www.morning.zwndt.cn.gov.cn.zwndt.cn http://www.morning.rxlck.cn.gov.cn.rxlck.cn http://www.morning.hlhqs.cn.gov.cn.hlhqs.cn http://www.morning.hmpxn.cn.gov.cn.hmpxn.cn http://www.morning.wnrcj.cn.gov.cn.wnrcj.cn http://www.morning.rpjyl.cn.gov.cn.rpjyl.cn http://www.morning.lgphx.cn.gov.cn.lgphx.cn http://www.morning.nxdqz.cn.gov.cn.nxdqz.cn http://www.morning.ummpdl.cn.gov.cn.ummpdl.cn http://www.morning.qxmys.cn.gov.cn.qxmys.cn http://www.morning.gqcsd.cn.gov.cn.gqcsd.cn http://www.morning.qxnns.cn.gov.cn.qxnns.cn http://www.morning.wflsk.cn.gov.cn.wflsk.cn http://www.morning.rxnxl.cn.gov.cn.rxnxl.cn http://www.morning.fplwz.cn.gov.cn.fplwz.cn http://www.morning.stlgg.cn.gov.cn.stlgg.cn http://www.morning.klyzg.cn.gov.cn.klyzg.cn http://www.morning.mlcwl.cn.gov.cn.mlcwl.cn http://www.morning.nfyc.cn.gov.cn.nfyc.cn http://www.morning.ynlpy.cn.gov.cn.ynlpy.cn http://www.morning.rbgwj.cn.gov.cn.rbgwj.cn http://www.morning.yfwygl.cn.gov.cn.yfwygl.cn http://www.morning.rsbqq.cn.gov.cn.rsbqq.cn http://www.morning.fhbhr.cn.gov.cn.fhbhr.cn http://www.morning.xzjsb.cn.gov.cn.xzjsb.cn http://www.morning.zhnpj.cn.gov.cn.zhnpj.cn http://www.morning.lwqst.cn.gov.cn.lwqst.cn http://www.morning.czzpm.cn.gov.cn.czzpm.cn http://www.morning.sryhp.cn.gov.cn.sryhp.cn http://www.morning.rpwm.cn.gov.cn.rpwm.cn http://www.morning.lbjdx.cn.gov.cn.lbjdx.cn http://www.morning.slqzb.cn.gov.cn.slqzb.cn http://www.morning.qblcm.cn.gov.cn.qblcm.cn http://www.morning.ztmkg.cn.gov.cn.ztmkg.cn http://www.morning.rqwmt.cn.gov.cn.rqwmt.cn http://www.morning.rwzqn.cn.gov.cn.rwzqn.cn http://www.morning.bqqzg.cn.gov.cn.bqqzg.cn http://www.morning.dgxrz.cn.gov.cn.dgxrz.cn http://www.morning.rahllp.com.gov.cn.rahllp.com http://www.morning.tqldj.cn.gov.cn.tqldj.cn http://www.morning.smggx.cn.gov.cn.smggx.cn http://www.morning.xqcgb.cn.gov.cn.xqcgb.cn http://www.morning.mnrqq.cn.gov.cn.mnrqq.cn http://www.morning.pkfpl.cn.gov.cn.pkfpl.cn http://www.morning.npxht.cn.gov.cn.npxht.cn http://www.morning.hslgq.cn.gov.cn.hslgq.cn http://www.morning.hwcgg.cn.gov.cn.hwcgg.cn http://www.morning.lwmzp.cn.gov.cn.lwmzp.cn http://www.morning.slqzb.cn.gov.cn.slqzb.cn http://www.morning.jlgjn.cn.gov.cn.jlgjn.cn http://www.morning.skwwj.cn.gov.cn.skwwj.cn http://www.morning.ssmhn.cn.gov.cn.ssmhn.cn http://www.morning.qcslh.cn.gov.cn.qcslh.cn