Decided to use labels as placeholders and keep them persistent while typing.
A Pen by Scott Zirkel on CodePen.
Decided to use labels as placeholders and keep them persistent while typing.
A Pen by Scott Zirkel on CodePen.
| <div class="container"> | |
| <p>You can divide with any text you like.</p> | |
| <p>For instance this...</p> | |
| <hr class="hr-text" data-content="AND"> | |
| <p>...this...</p> | |
| <hr class="hr-text" data-content="OR"> | |
| <p>...even this!</p> | |
| </div> |
| module.exports = { | |
| projectName: 'PROJECT_NAME', | |
| repo: 'HTTPS REPO URL', | |
| staging: { | |
| servers: 'USERNAME@SERVER', | |
| deployTo: '/absolute/path/to/www/root' | |
| } | |
| } |
Just a quick function to grab various warm, cool, & neutral graytones for my Sass files. I built it with the Pantone grays, but they could be any tones really. Better than just the basic grayscale when prototyping or even for production.
A Pen by Scott Zirkel on CodePen.
| #!/bin/bash | |
| echo "What is the theme name? (no spaces)" | |
| read THEME | |
| echo Installing Wordpress | |
| git clone [email protected]:scottzirkel/wordpress-base.git website ## This pulls down my WordPress starter template | |
| cd website | |
| echo Installing Composer ## I use Composer to manage the backend dependencies (ie: WordPress, public plugins, etc) | |
| composer install | |
| cd app/themes | |
| echo Setting up "$THEME" |
| /** | |
| * @param {Number} segment | |
| */ | |
| function uriSegments(segment){ | |
| var uri_segments = window.location.pathname.split('/'); | |
| if(segment) | |
| return uri_segments[segment]; | |
| else | |
| return uri_segments; | |
| }; |