diff --git a/git的使用_212206319.docx b/git的使用_212206319.docx new file mode 100644 index 0000000..27d197d Binary files /dev/null and b/git的使用_212206319.docx differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..61ba371 --- /dev/null +++ b/index.html @@ -0,0 +1,34 @@ + + + + + + 简易计算器 + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+
+ + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..a14d9e8 --- /dev/null +++ b/style.css @@ -0,0 +1,46 @@ +body { + font-family: Arial, sans-serif; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + background-color: #f0f0f0; + margin: 0; +} + +.calculator { + background-color: white; + padding: 20px; + border-radius: 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +#display { + width: 100%; + padding: 20px; + font-size: 24px; + text-align: right; + margin-bottom: 10px; + border: none; + border-radius: 5px; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); +} + +.buttons { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 10px; +} + +button { + padding: 20px; + font-size: 20px; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s; +} + +button:hover { + background-color: #e0e0e0; +} \ No newline at end of file