- http://httparchive.org
- https://tlk.io/smashingperf-sf16
- chrome://histograms/DNS
- [1] https://rescomp.stanford.edu/~cheshire/rants/Latency.html ↩
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin vh-polyfill($property, $vh, $add: null) { | |
// all iOS viewports that don't support vh | |
$portrait: "all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait)"; // iPad with portrait orientation. | |
$landscape: "all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape)"; // iPad with landscape orientation. | |
$iphone5: "screen and (device-aspect-ratio: 40/71)"; // iPhone 5 You can also target devices with aspect ratio. | |
$iphone4: "screen and (device-width: 320px) and (device-aspect-ratio: 2/3) and (orientation:portrait)"; // iPhone 4 | |
// base vh value with no additional px values calculated | |
@if $add == null { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Karla Regular variable | |
$font-primary: 'Karla', 'Arial', sans-serif; | |
// Karla Regular placeholder | |
%font-primary { | |
font-family: $font-primary; | |
font-weight: normal; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Inline SVG with Grunticon Fallback</title> | |
<meta name="viewport" content="width=device-width"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Spencer Baynton and Corey Bruyere | |
* @uses Walker_Nav_Menu | |
* @version 1.0.0 | |
*/ | |
class Roots_Nav_Walker extends Walker_Nav_Menu { | |
function start_lvl( &$output, $depth = 0, $args = array() ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Roots\Soil\Nav; | |
use Roots\Soil\Utils; | |
/** | |
* Cleaner walker for wp_nav_menu() | |
* | |
* Walker_Nav_Menu (WordPress default) example output: |
NewerOlder