Kamis, 16 Januari 2014

Simply Listfull


Created by The Fireworks Police


HTML

<div class="container">
       <h2>Simply Listful</h2>
             <ol class="ordered-list">
                   <li>Overall .fw.png width: 1400 px.</li>
                   <li>Eye-Strain reducer: 1230 px.</li>
                   <li>Overall grid size: 1170 px.</li>
                   <li>Gutter size: 30 px.</li>
                    <li>12 column grid size: 70 px.</li>
                    <li>6 column grid size: 170 px.</li>
                     <li>4 column grid size: 270 px.</li>
                    <li>3 column grid size: 370 px.</li>
             </ol>
        </div>
 <div class="copyright"> Created by <a href="#">The Fireworks Police</a>
 </div>

 CSS

.container {
  width: 300px;
  margin: auto;
  background: #FFFFFF;
  padding: 1px 1px;
  margin-top: 1px;
}
h2 {
  font-size: 16px;
  font-weight: lighter;
  background: rgba(255,60,0,0.7);
  display: inline-block;
  padding: 1px 15px;
  margin-left: -20px;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-transform: uppercase;
}
ol.ordered-list {
    counter-reset:li; /* Initiate a counter */
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
ol.ordered-list > li {
    position:relative; /* Create a positioning context */
    margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
    padding:4px 8px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
    border-top:2px solid #ccc;
    background:#fff;
    cursor: default
}
ol.ordered-list > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    top:-2px;
    left:-2em;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:8px;
    padding:1px;
    border-top:2px solid #ccc;
    color:#fff;
    background:#ccc;
    font-weight:bold;
    font-family:"Helvetica Neue", Arial, sans-serif;
    text-align:center;
}
ol.ordered-list > li:hover, ol > li:hover {
border-color: rgba(255,60,0,0.7);
background-color: #f5f5f5; }
ol.ordered-list > li:hover:before, ol > li:hover:before {
background-color: rgba(255,60,0,0.7);
border-color: rgba(255,60,0,0.7); }
.ordered-list li ol,
.ordered-list li ul {margin-top:6px;}
.ordered-list ol ol li:last-child {margin-bottom:0;}
/*********** IGNORE *************/
.copyright { margin-top: 50px; font-size: 12px; text-transform: uppercase; display: block; text-align: center; }
.copyright a { text-decoration: none; padding: 5px;background: rgba(255,60,0,0.7); color: #FFFFFF; }
.copyright a:hover { background: transparent; color: rgba(255,60,0,0.7); }



 D E M O

Simply Listful

  1. Overall .fw.png width: 1400 px.
  2. Eye-Strain reducer: 1230 px.
  3. Overall grid size: 1170 px.
  4. Gutter size: 30 px.
  5. 12 column grid size: 70 px.
  6. 6 column grid size: 170 px.
  7. 4 column grid size: 270 px.
  8. 3 column grid size: 370 px.





Tidak ada komentar:

Posting Komentar