ShoppingCart.module.css 660 Bytes
Newer Older
mayi's avatar
mayi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
.cartContainer {
  display: block;
  margin-bottom: 50px;
}

.cartDropDown {
  background: white;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 140px;
  text-align: left;
  z-index: 999;
}

.cartDropDown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cartDropDown li {
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
}

.cartDropDown li:last-child {
  border-bottom: 0;
}

.button {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
}

.button svg {
  margin: 0 5px 0 0;
}