created cart icon with number of items notification - it's still buggy
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
.add-to-cart {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.shopping-cart-icon {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
.shopping-cart-notification-text {
|
||||
display: inline-block;
|
||||
background:red;
|
||||
color: white;
|
||||
font-size: 9px;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: -10px;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -16,3 +16,8 @@ body {
|
||||
z-index: 10000;
|
||||
border: 1px solid silver;
|
||||
}
|
||||
|
||||
.main-heading {
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user