diff --git a/Css-files/content.css b/Css-files/content.css index 64ab424..03ef653 100644 --- a/Css-files/content.css +++ b/Css-files/content.css @@ -564,3 +564,32 @@ input margin-top: 5px; } +.added-to-cart { + position: absolute; + margin-top: -30px; + margin-left: 53px; + display: flex; + transition: opacity 0.5s ease, max-height 0.5s ease; + opacity: 0; +} + +.check-mark{ + width: 17px !important; + height : 17px !important; + font-size: 16.5px; +} + +.js-display-added-to-cart { + opacity: 1; +} + +#badgeCount { + position: relative; + top: -7px; + right: 1px; + background-color: red; + color: white; + border-radius: 50%; + padding: 5px 8px; + font-size: 12px; +} \ No newline at end of file diff --git a/Favicon image/check-mark.png b/Favicon image/check-mark.png new file mode 100644 index 0000000..5b80285 Binary files /dev/null and b/Favicon image/check-mark.png differ diff --git a/Html-files/Electronic.html b/Html-files/Electronic.html index 3d1f4b4..d500963 100644 --- a/Html-files/Electronic.html +++ b/Html-files/Electronic.html @@ -390,6 +390,18 @@ ::-webkit-scrollbar-button { display: none; } + +#badgeCount { + position: relative; + top: -7px; + right: 1px; + background-color: red; + color: white; + border-radius: 50%; + padding: 5px 8px; + font-size: 12px; +} + /*Animation sliders*/ .wrapper{ width: 100%; @@ -531,7 +543,7 @@
  • About
  • Services
  • Contact us
  • -
  • Cart
  • +
  • Cart
  • @@ -827,5 +839,6 @@

    Follow Us

    document.querySelector('.slide').prepend(items[items.length - 1]) }) + diff --git a/Html-files/cart.html b/Html-files/cart.html index 05f6549..59a9c8d 100644 --- a/Html-files/cart.html +++ b/Html-files/cart.html @@ -24,66 +24,80 @@ rel="stylesheet"> - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + +
    +
    + +
    + +
    +

    S E R V I C E S

    +
    @@ -680,6 +683,8 @@ }); }); - + + + \ No newline at end of file