"Untitled"
Bootstrap 4.1.1 Snippet by RizwanAkram

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <ul class="prd-cat-grade"> <li class="pcg-box"> <div class="row align-items-center no-gutters"> <div class="col pr-2"> <div class="icon"> <img src="http://web.cartlow.lan/web-assets/img/home/icon (11a).png" class="icon" alt=""> </div> </div> <div class="col-auto"> <div class="title text-success">Pre-Loved</div> <div class="badge badge-success">Good</div> </div> </div> </li> <li class="pcg-box"> <div class="row align-items-center no-gutters"> <div class="col pr-2"> <div class="icon"> <img src="http://web.cartlow.lan/web-assets/img/home/icon (12a).png" class="icon" alt=""> </div> </div> <div class="col-auto"> <div class="title text-danger">Never-Used</div> <div class="badge badge-danger">Like New</div> </div> </div> </li> <li class="pcg-box active"> <div class="row align-items-center no-gutters"> <div class="col pr-2"> <div class="icon"> <img src="http://web.cartlow.lan/web-assets/img/home/icon (11a).png" class="icon" alt=""> </div> </div> <div class="col-auto"> <div class="title text-success">Pre-Loved</div> <div class="badge badge-success">Good</div> </div> </div> </li> <li class="pcg-box"> <div class="row align-items-center no-gutters"> <div class="col pr-2"> <div class="icon"> <img src="http://web.cartlow.lan/web-assets/img/home/icon (12a).png" class="icon" alt=""> </div> </div> <div class="col-auto"> <div class="title text-danger">Never-Used</div> <div class="badge badge-danger">Like New</div> </div> </div> </li> </ul>
:root { --semibold: 500; --strong: 600; --bold: bold; --primary: #1d2f42; --secondary: #4eaf4a; --success: #4eaf4a; --danger: #d23337; --border-color: #e4efec; --card-radius: 8px; --card-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1); --card-shadow-hover: 0 .3rem 1.525rem -.375rem rgba(0,0,0,.1); --body-font: 13px; } .text-success {color: var(--success)!important;} .text-danger {color: var(--danger)!important;} .badge-success {background-color: var(--success);} @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;700;900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'); @font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Book.woff2') format('woff2'), url('../fonts/Gotham-Book.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Bold.woff2') format('woff2'), url('../fonts/Gotham-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap; } @font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Light.woff2') format('woff2'), url('../fonts/Gotham-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; } @font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Medium.woff2') format('woff2'), url('../fonts/Gotham-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; } html[lang=ar] body{ font-family: 'Frutiger LT Arabic 55 Roman'; } body { font-family: 'Gotham'; font-weight: 500; font-style: normal; font-size: 13px; } ul { padding: 0; margin: 0; } .prd-cat-grade .pcg-box { width: 120px; margin-bottom: 5px; font-size: x-small; padding: 5px 10px; border-radius: var(--card-radius); border: 1px solid var(--border-color); display: inline-flex; margin-right: 3px; cursor: pointer; } html[lang=ar] .prd-cat-grade .pcg-box { margin-left: 3px; } .prd-cat-grade .pcg-box:hover, .prd-cat-grade .pcg-box:focus, .prd-cat-grade .pcg-box:active, .prd-cat-grade .pcg-box.active { border-color: var(--secondary); } .prd-cat-grade .pcg-box .icon { width: 20px; } .prd-cat-grade .pcg-box .title { text-align: center; font-weight: var(--strong); } .prd-cat-grade .pcg-box .badge { min-width: 70px; padding: 1px 8px 4px; margin-top: 1px; font-weight: var(--strong); line-height: normal; border-radius: 5px; box-shadow: 0 1px 2px rgb(0 0 0 / 20%); }

Related: See More


Questions / Comments: