jquery+css实现答题多选小测验答卷多题代码

代码语言:html

所属分类:布局界面

代码描述:jquery+css实现答题多选小测验答卷多题代码

代码标签: jquery css 答题 多选 测验 答卷 多题 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  

  
  
  
<style>
@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");

:root {
	--primary: #2196f3;
	--error: #d7010190;
}

* {
	font-family: "Varela Round", sans-serif;
	font-weight: 400;
	font-style: normal;
	box-sizing: border-box;
}

a {
	text-decoration: none;
	cursor: pointer;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: url(//repo.bfw.wiki/bfwrepo/image/5e15dae696d11.png)
		no-repeat center center;
	/*background: url(https://static.wikia.nocookie.net/cube-movies/images/8/89/MV5BMTAyMjI4NTEzNTNeQTJeQWpwZ15BbWU3MDY3NjIxMjE%40._V1_SX640_SY720_.jpg) no-repeat center;*/
	background-size: cover;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}
body:before {
	content: "";
	position: absolute;
	z-index: -1;
	background: url(//repo.bfw.wiki/bfwrepo/image/5e15dae696d11.png)
		no-repeat center center;
	background-size: cover;
	width: 100vw;
	height: 100vh;
	filter: blur(5px);
	overflow: hidden;
}

.quizContainerPanel {
	text-align: center;
	width: 450px;
	margin: 0 auto;
	background: #253137e0;
	padding: 1em;
	border-radius: 1em;
	min-height: 580px;
}

.quizIntroPanel {
	width: 100%;
	height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	justify-content: space-evenly;
}
.quizIntroPanel p {
	float: left;
	width: 100%;
}
.quizUserName {
	font-size: 22px;
}
.quizPanelResult {
	display: none;
}
.navQuestion {
	width: 100%;
	display: flex;
	justify-content: center;
}
/*
.navQuestion:before {
content: "Question ";
color:var(--primary); 
margin-right: 0.5em;
}
*/
.navQuestion span {
	padding: 0.2em;
	color: #fff;
	min-width: 25px;
	text-align: center;
	min-height: 25px;
	line-height: 19px;
	background: #607d8b;
	margin: 0 1px;
	border-radius: 5px;
}
/*
.navQuestion span:first-of-type {
color: var(--primary);
padding: 0;
}
*/
.navQuestion span.quizActiveQuestion {
	background: var(--primary) !important;
	border-radius: 2px;
}
.quizPanel {
	display: none;
	color: #d9d9d9;
	font-size: 18px;
	margin-bottom: 10px;
}
.quizPanel strong {
	font-size: 17px;
}
.quizPanel .question {
	color: #a6a6a6;
}
.quizPanel .question.quizSelected {
	color: var(--primary);
}
.quizResponses {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0 85px 0 0;
}
.quizResponses .question {
	margin: 0 1em 0 0;
}
.quizResponses .question input {
	cursor: pointer;
}
.quizValidationLayer {
	margin-top: 20px;
}
.quizValidationLayer a.quizValidate {
	color: #fff;
	padding: 8px;
	background: var(--primary);
	cursor: pointer;
}
.quizPanel .question.thisCorrect {
	color: var(--error);
	color: #d70101;
}
.quizContinue {
	background: var(--primary).........完整代码请登录后点击上方下载按钮下载查看

网友评论0