Skip to content

Instantly share code, notes, and snippets.

View velocityreese's full-sized avatar

velocityreese

View GitHub Profile
.percent-value::after {
content: "/lbs";
font-size: 56px;
vertical-align: 10%;
}
.percent-value::after {
content: "/lbs";
}
<!--nextpage-->
@velocityreese
velocityreese / .htaccess
Created May 10, 2018 22:16
WordPress 404 Errors in Sub-directories
ErrorDocument 401 default
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
(function() {
var CSSCriticalPath = function(w, d, opts) {
var opt = opts || {};
var css = {};
var pushCSS = function(r) {
if(!!css[r.selectorText] === false) css[r.selectorText] = {};
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/);
for(var i = 0; i < styles.length; i++) {
if(!!styles[i] === false) continue;
var pair = styles[i].split(": ");