October 17, 2021

Sidebar categories

<div class="container">
       <div class="col-md-4">
           <div class="widget">
         <h5 class="widget-title">Categories</h5>
         <div class="recent-post">
          <ul class="widget-categories list-unstyled">
           <li> <a href="#">Angular Tutorials <span>(5)</span></a>
           </li>
           <li> <a href="#">Branding <span>(8)</span></a>
           </li>
           <li> <a href="#">Bootstrap <span>(4)</span></a>
           </li>
           <li> <a href="#">Blog Post <span>(6)</span></a>
           </li>
           <li> <a href="#">Seo Analysis <span>(3)</span></a>
           </li>
           <li> <a href="#">Online Marketing <span>(15)</span></a>
           </li>
           <li> <a href="#">Email Marketing <span>(12)</span></a>
           </li>
         </ul>
         </div>
       </div>
       </div>
   </div>

 

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <style>
         .widget-title {
    background: #ffffff;
    border-radius: 7px;
    margin-top: 50px;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1c1d3e;
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 30px;     box-shadow: 0px 0px 15px #f1f1f1;
}
        .widget .widget-categories li {display: block; padding: 15px 0; border-bottom: 1px dashed #ddd; position: relative;}
.widget .widget-categories li:first-child{padding-top: 0;}
.widget .widget-categories li:last-child{padding-bottom: 0; border-bottom: none;}
.widget .widget-categories li a {text-transform: capitalize; color: #1c1d3e; display: flex; justify-content: space-between; font-weight: 500;}
.widget .widget-categories li a:hover {color: #2575fc; padding-left: 5px;}
.widget-categories li i {position: absolute; right: 0; color: #005bea}

    </style>

 

Leave a Reply

Your email address will not be published. Required fields are marked *