<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
body{
background: #e2e2e2;
}
*{
margin: 10px;
}
.wrap{
margin:200px auto;
width: 600px;
}
</style>
</head>
<body>
<div class="wrap">
<div id="top">
<input type="text" id="former">
<span id="operator"></span>
<input type="text" id="laster">
<span>=</span>
<span class="result"></span>
</div>
<div id="bottom">
<button id="add">+</butt
面向对象思想实现简易计算器
最新推荐文章于 2020-04-10 18:32:19 发布