我们先来看下运行后的效果:
接下来我们分享给大家全部代码:
document
.jisuanqi {
width: 270px;
height: 200px;
border: 1px solid black;
list-style-type: none;
background: #C9E495;
margin: 10px 0px 10px 0px;
}
.jisuanqi span {
width: 20px;
height: 10px;
margin-right: 5px;
}
.jisuanqi input {
margin-bottom: 5px;
}
[name=yunsuanfu] {
width: 50px;
height: 30px;
margin-left: 10px;
}
.box {
width: 300px;
height: 200px;
border: 1px solid black;
text-align: center;
background: #C9E495;
}
.box input {
margin-bottom: 10px;
}
判断是否为闰年:
购物简易计算器
第一个数
第二个数
计算结果
分别输入abc求根
其中的JS代码以及样式大家可以在需要用到的时候灵活变换,感谢你对考高分网的支持。



