部分设置并非最优化设置 有待后期学习并优化设置
body{ background-color: #f5f5f5;}.all{ box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.2); width: 1000px; margin: 100px auto; border-radius: 10px; background-color: white; overflow: hidden; border-bottom: 1px solid rgba(100,149,237,.5);}/*标题*/.head{ color: white; background-color: #6495ED; text-align: center; font-size: 20px; padding-top: 10px; padding-bottom: 10px; letter-spacing:8px}/*每一块部分*/.chence{ white-space:nowrap;/*超出该div的文本不会换行*/ position: relative; font-size: 20px; border-bottom: 1px solid rgba(100,149,237,1); /*设置内容分类标签的下边框线*/ padding-top: 20px; padding-bottom: 30px; width:60%; left: 20px;}.chence-1{ position: relative; font-size: 20px; margin-top: 20px; padding-top: 20px; padding-bottom: 30px; text-align: center; border-top: 1px solid black;}.xing{ color: #6495ED;}.kuang{ outline: none;/*当元素获得焦点的时候,焦点框为0.*/ width: 75%; font-size: 20px; height: 40px; border-radius: 5px; border:1px solid rgba(0,0,0,0.2); transition: box-shadow .5s;/*给盒阴影添加过渡效果*/}.kuang:focus{ box-shadow: 1px 1px 10px #6385d1, 1px 1px 10px #6385d1; /*盒子阴影效果设置*/}.kuang-1{ outline: none;/*当元素获得焦点的时候,焦点框为0.*/ width: 75%; font-size: 20px; height: 40px; border-radius: 5px; border:1px solid rgba(0,0,0,0.2); margin-left: 20px; transition: box-shadow .5s;/*添加效果*/}.kuang-1:focus{ box-shadow: 1px 1px 10px #6385d1, 1px 1px 10px #6385d1; /*盒子阴影效果设置*/}.kuang-2{ outline: none;/*当元素获得焦点的时候,焦点框为0.*/ width: 75%; font-size: 20px; height: 40px; border-radius: 5px; border:1px solid rgba(0,0,0,0.2); margin-left: 40px; transition: box-shadow .5s;/*添加效果*/}.kuang-2:focus{ box-shadow: 1px 1px 10px #6385d1, 1px 1px 10px #6385d1; /*盒子阴影效果设置*/}label{ font-weight:bold;/*定义粗体字符*/ cursor: pointer;}.cu{ font-weight:normal;/*默认值。定义标准的字符*/ letter-spacing:8px;/*文本字间距设置*/ cursor: pointer;/*手标志*/}button{ width: 130px; height: 30px; background-color: #6495ED; color: white; border-radius: 3px;/*圆角设置*/ margin-left: 10px; border: none; cursor: pointer;/*手*/}