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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> | |
</body> |
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
// Visually hide an element while allowing it to still be utlized by a screenreader | |
.u-sr-only { | |
border: 0; | |
clip: rect(0 0 0 0); | |
overflow: hidden; | |
margin: -1px; | |
padding: 0; | |
position: absolute !important; | |
height: 1px; | |
width: 1px; |
I hereby claim:
- I am angeliquejw on github.
- I am aweger (https://keybase.io/aweger) on keybase.
- I have a public key ASAOiPHTD_UKR6-PKV0n5NXSwTL8L3fMbROa-_tsLd9vZwo
To claim this, I am signing this object:
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
node_modules |
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
// REM + PX Fallback | |
// Developed by Hugo Giraudel (@HugoGiraudel) | |
// Inspired by Hans Christian Reini (@drublic) | |
// Refined by Moving Primates (@movingprimates) & James Kyle (@thejameskyle) | |
$root-font-size: 16; | |
@function parseInt($n) { | |
@return $n / ($n * 0 + 1); | |
} |
NOTE Just like with Angular, pay attention to versioning when reading opinions and tutorials! One easy marker: If they’re writing about or explaining signals, that’s an older version of Elm!
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
module PaginateHelper | |
class LinkRenderer < WillPaginate::ActionView::LinkRenderer | |
protected | |
def html_container(html) | |
tag(:nav, tag(:ol, html, class: "pagination-list"), class: "pagination", role: "navigation", "aria-label": "pagination navigation") | |
end | |
def previous_or_next_page(page, text, classname) | |
if page |
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
/*! Based on sanitize.css v3.0.0 | CC0 1.0 Public Domain | github.com/10up/sanitize.css */ | |
html { | |
box-sizing: border-box; | |
-ms-overflow-style: -ms-autohiding-scrollbar; /* Edge 12+, IE 11- */ | |
overflow-y: scroll; /* All browsers without overlaying scrollbars */ | |
-webkit-text-size-adjust: 100%; /* iOS 8+ */ | |
} | |
*, :before, :after { | |
box-sizing: inherit; |
NewerOlder