-
-
This is an about page
-
-
-
-
diff --git a/src/views/CalcView.vue b/src/views/CalcView.vue
index 565379c..6f547b3 100644
--- a/src/views/CalcView.vue
+++ b/src/views/CalcView.vue
@@ -89,6 +89,7 @@ const clear = function () {
position: relative;
width: 25%;
height: 0;
+ /*通过边距形成正方形的Hack*/
padding-top: 25%;
border: 1px solid #2c3e50;
box-sizing: border-box;
@@ -97,6 +98,7 @@ const clear = function () {
cursor: pointer;
}
+/*遍历所有子元素*/
.btn > * {
position: absolute;
width: 100%;
@@ -108,7 +110,4 @@ const clear = function () {
align-items: center;
}
-.active {
- border: 5px solid #ff0;
-}