Vertical center with only 3 lines of code
A Pen by sebastianekstrom on CodePen.
Vertical center with only 3 lines of code
A Pen by sebastianekstrom on CodePen.
Inspired by https://glass.eleks.com/
A bit off in Safari.
A Pen by Daniel Lewandowski on CodePen.
<?php | |
// Call this with a cron script on a timed interval to scrape it | |
$user_agent = $_SERVER['HTTP_USER_AGENT']; // its possible you may wish to use an alternative user agent here | |
// First call gets hidden form field authenticity_token | |
// and session cookie | |
$ch = curl_init(); | |
$sTarget = "https://twitter.com/"; | |
curl_setopt($ch, CURLOPT_URL, $sTarget); |
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
This solution fixes the error caused by trying to run npm update npm -g
. Once you're finished, you also won't need to use sudo
to install npm modules globally.
Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.
--- | |
version: 1.0 | |
domains: | |
- www.styleurl.app | |
url_patterns: | |
- www.styleurl.app/* | |
timestamp: '2018-07-31T14:27:38Z' | |
id: 23pG | |
redirect_url: https://www.styleurl.app/ | |
shared_via: StyleURL - (https://styleurl.app) import and export CSS changes from Chrome |
blah blah blah |
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
// Sass modifiers mixin by Sarah Dayan | |
// Generate All Your Utility Classes with Sass Maps: frontstuff.io/generate-all-your-utility-classes-with-sass-maps | |
// http://frontstuff.io | |
// https://github.com/sarahdayan |
// Brand | |
$primary: red; | |
$secondary: green; | |
$tertiary: blue; | |
// Colour variations | |
$shade-amount: 15%; | |
$trans-amount: 0.5; |
$grd-dir-0deg: 0deg; | |
$grd-dir-45deg: 45deg; | |
$grd-dir-90deg: 90deg; | |
$grd-dir-180deg: 180deg; | |
$grd-dir-225deg: 225deg; | |
$grd-dir-270deg: 270deg; | |
$grd-dir-315deg: 315deg; | |
$grd-theme-1: linear-gradient( | |
$grd-dir-45deg, | |
#2d2d8f 10%, |