Skip to content
Snippets Groups Projects
Commit 8d8439c1 authored by Ignacio Hernández de la Fuente's avatar Ignacio Hernández de la Fuente
Browse files

created number box next to cart

parent 6cc43c26
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,20 @@ include("../html/data_treatment/connect_database.php");
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<a href="shoppingPage.php"><i class="fa-solid fa-cart-shopping"></i></a>
<div class="number-box">0</div>
<style>
.number-box {
width: 30px;
height: 30px;
background-color: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: bold;
margin-right: 240px;
}
</style>
<div id="onlineUsers" style="color:white">Loading ...</div>
<ul class="navbar-nav text-uppercase ms-auto py-4 py-lg-0">
......@@ -102,7 +116,7 @@ include("../html/data_treatment/connect_database.php");
.fa-cart-shopping{
color: white;
font-size: 25px;
margin-right: 240px;
margin-right: 10px;
}
</style>
</nav>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment