"categories"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <ul class="homes-list"> <li class="single-storey">Single Storey</li> <li class="double-storey">Double Storey</li> <li class="house-and-land">House and Land</li> <li class="develop-subdivide">Develop and Subdivide</li> <li class="land-estate">Land Estates</li> <li class="apartments">Apartments</li> <li class="custom-built">Custom Built Homes</li> <li class="luxury-homes">Luxury Homes</li> </ul>
body { background: #212C38; padding: 100px; } .homes-list { margin: 0 auto; list-style-type: none; width: 960px; text-align: center; } .homes-list li { padding: 10px; font-family: helvetica; color: #fff; font-weight: lighter; font-size: 28px; line-height: 28px; margin: 2px; padding: 20px 30px; float: left; cursor: pointer; opacity: 0.85; transition: opacity 0.1s ease, padding 0.1s ease; } .homes-list li:after { overflow: hidden; content: "20 homes"; display: inline-block; vertical-align: middle; font-size: 14px; font-weight: bold; margin-left: 0; width: 0; opacity: 0; white-space: nowrap; transition: width 0.2s ease, opacity 0.1s ease; /* pill */ box-sizing: border-box; background-color: rgba(0,0,0,0.1); padding: 5px 0 2px; border-radius: 4px; line-height: 1; border: 1px solid rgba(0,0,0,0.04) /**/ } .homes-list li:hover { position: relative; z-index: 2; opacity: 1; padding: 20px; } .homes-list li:hover:after { margin-left: 15px; width: 82px; opacity: 1; } .homes-list .single-storey { background: #F6672E; } .homes-list .double-storey { background-color: #009BD4; } .homes-list .house-and-land { background-color: #9FC53A; } .homes-list .develop-subdivide { background-color: #FFB200; } .homes-list .land-estate { background-color: #8F5A9F; } .homes-list .apartments { background-color: #4EC9BE; } .homes-list .custom-built { background-color: #B7AEAC; } .homes-list .luxury-homes { background-color: #3A537C; }

Related: See More


Questions / Comments: