"Periodic Elements"
Bootstrap 3.0.3 Snippet by silentcoding

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/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 ----------> <div class="periodic-table"> <div class="container"> <div class="periodic-icons"> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">H</h1> <p class="name">Hydrogen</p> <span class="atomic-number">1</span> <span class="atomic-mass">1.0008</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Li</h1> <p class="name">Lithium</p> <span class="atomic-number">3</span> <span class="atomic-mass">6.941</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Na</h1> <p class="name">Sodium</p> <span class="atomic-number">11</span> <span class="atomic-mass">22.990</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">K</h1> <p class="name">Potassium</p> <span class="atomic-number">19</span> <span class="atomic-mass">39.098</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Rb</h1> <p class="name">Rubidium</p> <span class="atomic-number">37</span> <span class="atomic-mass">84.468</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Be</h1> <p class="name">Beryllium</p> <span class="atomic-number">4</span> <span class="atomic-mass">9.012</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Mg</h1> <p class="name">Magnesium</p> <span class="atomic-number">12</span> <span class="atomic-mass">24.305</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Ca</h1> <p class="name">Calcium</p> <span class="atomic-number">20</span> <span class="atomic-mass">40.078</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">C</h1> <p class="name">Carbon</p> <span class="atomic-number">6</span> <span class="atomic-mass">12.011</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">O</h1> <p class="name">Oxygen</p> <span class="atomic-number">8</span> <span class="atomic-mass">15.999</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">S</h1> <p class="name">Sulfur</p> <span class="atomic-number">16</span> <span class="atomic-mass">32.066</span> </div> </div> <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6 item text-center"> <div class="periodic-element"> <h1 class="short-name">Se</h1> <p class="name">Selenium</p> <span class="atomic-number">34</span> <span class="atomic-mass">78.971</span> </div> </div> </div> </div> </div>
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900'); body { font-family: 'Lato', sans-serif; background: #1fa2ff; background: -webkit-linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb); background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb); padding: 120px 0px; } h1 { font-size: 32px; color: #00c7fd; font-family: 'Lato', sans-serif; } .periodic-icons > div { margin: 20px 0px; } .periodic-element { background: #FFF; border-radius: 8px; box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.2); padding: 25px 0px; } .periodic-element:hover { background: #1fa2ff; background: -webkit-linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb); background: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb); color: #FFF; } .periodic-element:hover h1, .periodic-element:hover span { color: #FFF; font-weight: 600; } .atomic-number { position: absolute; top: 10px; left: 30px; font-size: 14px; color: #00e1f1; }

Related: See More


Questions / Comments: