diff --git a/style.css b/style.css index 34b67787..01e0c7ac 100644 --- a/style.css +++ b/style.css @@ -356,18 +356,36 @@ button { padding: 12px 14px; } -button img { - width: 30px; +/* button img { + width: 18px; display: none; } button:hover img { display: block; +} */ + +#buy-btn img{ + width: 30px; + display: none; +} + +#buy-btn:hover img{ + display: block; +} + +#cart-btn img{ + width: 18px; + display: none; +} + +#cart-btn:hover img{ + display: block; } #cart-btn:hover { - width: 160px; + width: 140px; display: flex; align-items: center; justify-content: space-between; @@ -375,7 +393,7 @@ button:hover img { } #buy-btn:hover { - width: 160px; + width: 140px; display: flex; align-items: center; justify-content: space-between;