Skip to content

Instantly share code, notes, and snippets.

View Macmee's full-sized avatar
💭
🚀

Leah Macmee

💭
🚀
  • California, USA
View GitHub Profile
@nicroto
nicroto / server.js
Created September 27, 2016 14:46
NodeJS server for a single-page app with client navigation and no backend.
'use strict';
var http = require( "http" ),
pathUtils = require( "path" ),
express = require( "express" ),
app = express(),
PORT = process.env.PORT || 5000,
appDir = pathUtils.resolve( __dirname, "client" );
app.use( express.static( appDir ) );
@mturnwall
mturnwall / SassMeister-output.css
Last active May 6, 2020 18:54
SASS mixin for styling input placeholder text
::-moz-placeholder {
color: red;
font-weight: 300;
padding-top: 5px;
}
::-webkit-input-placeholder {
color: red;
font-weight: 300;
padding-top: 5px;