Am trying to code following design with bootstrap 3
But unfortunately i can’t can some one help.
here is what i tried
<div class="row">
<div class="col-md-12">
<h3 class="section-title">Browse Ads from 8 Categories</h3>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-1 wow fadeInUpQuick animated" data-wow-delay="0.3s" style="visibility: visible;-webkit-animation-delay: 0.3s; -moz-animation-delay: 0.3s; animation-delay: 0.3s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-users color-1"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Community</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Announcements</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Car Pool - Bike Ride</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Charity - Donate - NGO</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Lost - Found</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Tender Notices</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">General Entertainment</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">View all subcategories →</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-2 wow fadeInUpQuick animated" data-wow-delay="0.6s" style="visibility: visible;-webkit-animation-delay: 0.6s; -moz-animation-delay: 0.6s; animation-delay: 0.6s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-laptop-phone color-2"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Electronics</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Home Electronics</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">LCDs</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Charity - Donate - NGO</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Mobile & Tablets</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">TV & DVDs</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Technical Services</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Others</a>
<sapn class="category-counter">1</sapn>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-3 wow fadeInUpQuick animated" data-wow-delay="0.9s" style="visibility: visible;-webkit-animation-delay: 0.9s; -moz-animation-delay: 0.9s; animation-delay: 0.9s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-cog color-3"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Services</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Cleaning Services</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Educational</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Food Services</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Medical</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Office & Home Removals</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">General Entertainment</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">View all subcategories →</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-4 wow fadeInUpQuick animated" data-wow-delay="1.2s" style="visibility: visible;-webkit-animation-delay: 1.2s; -moz-animation-delay: 1.2s; animation-delay: 1.2s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-cart color-4"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Shopping</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Bags</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Beauty Products</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Jewelry</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Shoes M/F</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Tender Notices</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Others</a>
<sapn class="category-counter">3</sapn>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-5 wow fadeInUpQuick animated" data-wow-delay="1.5s" style="visibility: visible;-webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; animation-delay: 1.5s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-briefcase color-5"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Jobs</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Accounts Jobs</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Cleaning & Washing</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Web design</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Design & Code</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Finance Jobs</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Data Entry</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">View all subcategories →</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-6 wow fadeInUpQuick animated" data-wow-delay="1.8s" style="visibility: visible;-webkit-animation-delay: 1.8s; -moz-animation-delay: 1.8s; animation-delay: 1.8s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-graduation-hat color-6"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Training</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Android Development</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">20 Days HTML/CSS</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">iOS Development with Swift</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">SEO for rest of us</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Mastering in Java</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Others</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">View all subcategories →</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-7 wow fadeInUpQuick animated" data-wow-delay="2.1s" style="visibility: visible;-webkit-animation-delay: 2.1s; -moz-animation-delay: 2.1s; animation-delay: 2.1s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-apartment color-7"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Real Estate</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Farms</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Home for rent</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Hotels</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Land for sale</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Offices for rent</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Others</a>
<sapn class="category-counter">3</sapn>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="category-box border-8 wow fadeInUpQuick animated" data-wow-delay="2.3s" style="visibility: visible;-webkit-animation-delay: 2.3s; -moz-animation-delay: 2.3s; animation-delay: 2.3s;">
<div class="icon">
<a href="category.html"><i class="lnr lnr-car color-8"></i></a>
</div>
<div class="category-header">
<a href="category.html"><h4>Vehicles</h4></a>
</div>
<div class="category-content">
<ul>
<li>
<a href="category.html">Cars</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Fancy Cars</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Kids Bikes</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Motor Bikes</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Classic & Modern</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">Kinds</a>
<sapn class="category-counter">3</sapn>
</li>
<li>
<a href="category.html">View all subcategories →</a>
</li>
</ul>
</div>
</div>
</div>
</div>
2
Answers
I added the following CSS styles, also added a
container-fluid
div(thats a must if using row). And corrected typo ofspan
mentioned assapn
See code below:(see JSFiddle:https://jsfiddle.net/apn4o32e/34/)
I create it with
panel
of bootstrap 3:https://www.w3schools.com/bootstrap/bootstrap_panels.aspI use
font awesome 5
to the icon:https://fontawesome.comTo create the icon section I use
:before
topanel