当前位置:网站首页>JS implementation of Slide Puzzle verification
JS implementation of Slide Puzzle verification
2022-06-28 02:30:00 【Minsk open source】
.container {
width: 310px;
margin: 100px auto;
}
#msg {
width: 100%;
line-height: 40px;
font-size: 14px;
text-align: center;
}
a:link,
a:visited,
a:hover,
a:active {
margin-left: 100px;
color: #0366D6;
}
.block {
position: absolute;
left: 0;
top: 0;
}
.sliderContainer {
position: relative;
text-align: center;
width: 310px;
height: 40px;
line-height: 40px;
margin-top: 15px;
background: #f7f9fa;
color: #45494c;
border: 1px solid #e4e7eb;
}
.sliderContainer_active .slider {
height: 38px;
top: -1px;
border: 1px solid #1991FA;
}
.sliderContainer_active .sliderMask {
height: 38px;
border-width: 1px;
}
.sliderContainer_success .slider {
height: 38px;
top: -1px;
border: 1px solid #52CCBA;
background-color: #52CCBA !important;
}
.sliderContainer_success .sliderMask {
height: 38px;
border: 1px solid #52CCBA;
background-color: #D2F4EF;
}
.sliderContainer_success .sliderIcon {
background-position: 0 0 !important;
}
.sliderContainer_fail .slider {
height: 38px;
top: -1px;
border: 1px solid #f57a7a;
background-color: #f57a7a !important;
}
.sliderContainer_fail .sliderMask {
height: 38px;
border: 1px solid #f57a7a;
background-color: #fce1e1;
}
.sliderContainer_fail .sliderIcon {
background-position: 0 -83px !important;
}
.sliderContainer_active .sliderText,
.sliderContainer_success .sliderText,
.sliderContainer_fail .sliderText {
display: none;
}
.sliderMask {
position: absolute;
left: 0;
top: 0;
height: 40px;
border: 0 solid #1991FA;
background: #D1E9FE;
}
.slider {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
background: #fff;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: background .2s linear;
}
.slider:hover {
background: #1991FA;
}
.slider:hover .sliderI 《 A big factory Java Analysis of interview questions + Back end development learning notes + The latest architecture explanation video + Practical project source code handout 》 Free open source Prestige search official account 【 Advanced programming 】 con {
background-position: 0 -13px;
}
.sliderIcon {
position: absolute;
top: 15px;
left: 13px;
width: 14px;
height: 10px;
background: url(img/tb.png) 0 -26px;
background-size: 34px 471px;
}
.refreshIcon {
position: absolute;
right: 0;
top: 0;
width: 34px;
height: 34px;
cursor: pointer;
background: url(img/tb.png) 0 -437px;
background-size: 34px 471px;
}
page , Only one page is used div That's all right.
js Part of the code , Including verification of correctness
边栏推荐
- stm32f1中断介绍
- AAVE launches lens protocol, a Web3 social media platform
- 后勤事务繁杂低效?三步骤解决企业行政管理难题
- Jenkins - Groovy Postbuild 插件丰富 Build History 信息
- 《低代码解决方案》——覆盖工单、维修和财务全流程的数字化售后服务低代码解决方案
- SQL 注入绕过(五)
- Jenkins - access the Jenkins user-defined parameter variable, and handle the variable value containing spaces
- The interviewer asked: this point of JS
- Low code solution - a low code solution for digital after-sales service covering the whole process of work order, maintenance and Finance
- 投资同业存单基金是靠谱吗,同业存单基金安全吗
猜你喜欢
To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
ShardingSphere-proxy-5.0.0建立mysql读写分离的连接(六)
Class initialization and callback usage
Raspberry pie realizes intelligent cooling by temperature control fan
Numpy----np. reshape()
How fiddle uses agents
Cesium anti aliasing (lines, borders, etc.)
Domain Name System
图灵机启动顺序
Differences between cesium polygon extrudedheight and height
随机推荐
Shardingsphere-proxy-5.0.0 establish MySQL read / write separation connection (6)
Mysql大合集,你要内容的这里全都有
Where can I open an account for foreign exchange futures? Which platform is safer for cash in and out?
Cesium 多边形增加文字标签(polygon 加 label)多边形中心点偏移问题解决
frp实现内网穿透
Deep parsing of kubernetes controller runtime
匿名挂载&具名挂载
To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
关于st-link usb communication error的解决方法
共阳极数码管真值表
Embedded must learn, detailed explanation of hardware resource interface -- Based on arm am335x development board (Part 1)
Learn pickle
SQL 注入繞過(二)
将某数据库N多表名作为另外一张表中某一列得值(范围可以是别的数据库中得某张表)
geojson 格式說明(格式詳解)
CVPR22收录论文|基于标签关系树的层级残差多粒度分类网络
JS实现滑动拼图验证
[Yongyi XY chair] trial experience
Jenkins - built in variable access
《低代码解决方案》——覆盖工单、维修和财务全流程的数字化售后服务低代码解决方案