js+css实现一个正确错误题判断考试测试代码
代码语言:html
所属分类:其他
代码描述:js+css实现一个正确错误题判断考试测试代码
代码标签: js css 正确 错误 题 判断 考试 测试 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif } body { background: linear-gradient(135deg,#6a11cb 0,#2575fc 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px } .container { background-color: rgba(255,255,255,0.9); border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.2); width: 90%; max-width: 600px; padding: 30px; text-align: center } h1 { color: #333; margin-bottom: 20px; font-size: 28px } .score-container { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 18px; color: #444 } .progress-bar { height: 10px; background-color: #eee; border-radius: 5px; margin-bottom: 25px; overflow: hidden } .progress { height: 100%; background: linear-gradient(to right,#6a11cb,#2575fc); width: 0; transition: width .5s ease } .question-card { background-color: white; border-radius: 15px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin-bottom: 25px } .question-text { font-size: 22px; color: #333; margin-bottom: 10px } .question-info { color: #666; font-size: 14px; margin-bottom: 5px } .buttons-container { display: flex; justify-content: center; gap: 20px; margin-top: 20px } .btn { padding: 15px 30px; border: 0; border-radius: 50px; font-size: 18px; font-weight: bol.........完整代码请登录后点击上方下载按钮下载查看
网友评论0