diff --git a/calculator/css/style.css b/calculator/css/style.css index bbbe444..5a53b5d 100644 --- a/calculator/css/style.css +++ b/calculator/css/style.css @@ -37,6 +37,10 @@ margin: 5px; font-size: 25px; width: 110px; + -webkit-transition: all 0.5s; /* add this line, chrome, safari, etc */ + -moz-transition: all 0.5s; /* add this line, firefox */ + -o-transition: all 0.5s; /* add this line, opera */ + transition: all 0.5s; /* add this line */ } #clear { @@ -51,6 +55,14 @@ width: 230px; } +#action:hover { + background-color: #F0ECE2; +} + +#clear:hover { + background-color: #FF6D60; +} + body { display: flex; justify-content: center; diff --git a/calculator/index.html b/calculator/index.html index 8e99803..3db8834 100644 --- a/calculator/index.html +++ b/calculator/index.html @@ -15,26 +15,27 @@ 0
+