Bootstrap snippet and html example. Social Widget

Bootstrap 3.1.1 snippet "Social Widget" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: social

HTML code

Clean, semantic HTML that powers this Bootstrap 3.1.1 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.


<div id="cadre">
    <div id="first"></div>
    <div id="second"></div> 
    <span class="zocial-windows" title="windows"></span>
    <span class="zocial-appstore" title="apple"></span>
    <span class="zocial-android"  title="android"></span>
    <div id="traitnoir"></div>
    <div id="traitblanc"></div> 
    <span class="zocial-facebook" title="facebook"></span>
    <span class="zocial-twitter"  title="twitter"></span>
    <span class="zocial-googleplus" title="google plus"></span>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.1.1 to keep the design, spacing, and responsiveness consistent.

@import url(https://weloveiconfonts.com/api/?family=zocial);

[class*="zocial-"]:before {
  font-family: 'zocial', sans-serif;
  font-size:5em;
  text-shadow:0px 0px 5px #666,0px 0px 30px #DDD; 
}

.zocial-facebook:hover, .zocial-twitter:hover, .zocial-googleplus:hover, .zocial-windows:hover, .zocial-appstore:hover, .zocial-android:hover
{
  color:#5bc0de;
  transition:all ease 0.5s;  
}
.zocial-facebook, .zocial-twitter, .zocial-googleplus{
  position:relative;
  top:33px;
  margin-left:60px;
  color:#EEE;
  transition:all ease 0.5s;
  
}
.zocial-twitter{
  margin-left:90px
}
.zocial-windows, .zocial-appstore, .zocial-android{
  position:relative;
  top:10px;
  margin-left:70px;
  color:#EEE;
  transition:all ease 0.5s;
}

#cadre{
  width:500px;
  height:250px;
  background: -webkit-linear-gradient(-90deg, #C3C1BF 0%, #B7B4B0 100%);
  margin: 50px auto;
  border-radius:6px;
  -webkit-border-radius:6px;
  box-shadow:0px 0px 2px #555, 0px 0px 10px #999,0px 0px 60px #CCC;
}
#traitnoir{
  width:400px;
  height:1px;
  background:#666;
  position:relative;
  top:32px;
  left:50px;
}
#first{
  width:490px;
  height:1px;
  background-color:#DDD;
  position:relative;
  left:5px;
}
#traitblanc{
  width:400px;
  height:1px;
  background:#FFF;
  position:relative;
  top:30px;
  left:50px;
}
#second{
  width:1px;
  height:242px;
  position:absolute;
  background-color:#DDD;
  top:54px;
}
p{
  position:relative;
  font-size:1.5em;
  color:#EEE;
  text-align:center;
  
}

Similar snippets

Bootstrap example and template. Social icons

Social icons

Bootstrap example and template. profile tab widget

profile tab widget

Bootstrap example and template. social user post

social user post

Bootstrap example and template. Members

Members

Bootstrap example and template. Bootstrap Login Form in modal

Bootstrap Login Form in modal

Bootstrap example and template. Login form with icon

Login form with icon

Bootstrap example and template. Simple email inbox page

Simple email inbox page

Bootstrap example and template. payment receipt

payment receipt

FAQ

How do I use this snippet?

Include Bootstrap 3.1.1, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.1.1.

Bootstrap example and template. Social Widget

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 6.3K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.1.1

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.1.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working