Make current directory available on port 8000
python -m SimpleHTTPServer
// @import | |
// "foundation/components/accordion", | |
// "foundation/components/alert-boxes", | |
// "foundation/components/block-grid", | |
// "foundation/components/breadcrumbs", | |
// "foundation/components/button-groups", | |
// "foundation/components/buttons", | |
// "foundation/components/clearing", | |
// "foundation/components/dropdown", | |
// "foundation/components/dropdown-buttons", |
$btn-bg: #008CBA; | |
$btn-text-color: white; | |
.btn { | |
padding: 10px 20px; | |
font-weight: bold; | |
transition: all 300ms ease; | |
color: rgba($btn-text-color, 0.8); | |
background: $btn-bg; |
.class-1 { | |
transform: translateX(-100%); | |
&.modifier { | |
transform: scale(0.5); | |
} | |
} | |
// `.class-1.modifier` output => `transform: scale(0.5);` | |
// Desired output => `transform: translateX(-100%) scale(0.5);` |
Make current directory available on port 8000
python -m SimpleHTTPServer
<table> | |
<tr> | |
<td>Logo will go here</td> | |
<td>Add another nested table here. I do not like colspans!</td> | |
</tr> | |
</table> |
While there's no officially documented method in the Google+ API way to get a raw share count, there are some tricks you can do to acheive this.
For this example, we're working in a Rails app with Nokogiri. We'll use Nokogiri to open the Google+ fastbutton
tool and return the share count.
require 'open-uri'
require 'nokogiri'
A lot of times I need to distribute nav-items or something in CSS, but the left and right items need to be flushed left and right and the space between all items needs to be evenly distributed.
Here are a few solutions I've come up with.
// JUSTIFIED LIST
.justified-list {
margin:0;