- JavaScript.is (Sexy)
- Eloquent JavaScript
- Frontend - learn & resources
- Learnjs.io
This file contains hidden or 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
@import compass | |
$icons: sprite-map("icons/*.png") | |
$icons-hd: sprite-map("icons-hd/*.png") | |
i | |
background: $icons | |
display: inline-block | |
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) | |
background: $icons-hd |
This file contains hidden or 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> | |
<!--[if IE 8]<html lang="en" class="ie8> <![endif]--> | |
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Mobile Specific Meta --> |
This file contains hidden or 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
.ir { | |
border: 0; | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
background-color: transparent; | |
} |
This file contains hidden or 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
input[type="text"], | |
input[type="email"], | |
input[type="tel"], | |
input[type="number"], | |
textarea { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-ms-appearance: none; | |
appearance: none; | |
outline: 0; |
This file contains hidden or 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
input::-webkit-input-placeholder { color: #ccc; } | |
input::-moz-placeholder { color: #ccc; } | |
input:-ms-input-placeholder { color: #ccc; } | |
input::placeholder { color: #ccc; } |
This file contains hidden or 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
gistup |
This file contains hidden or 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>gistup</title> | |
</head> | |
<body> | |
Hello World! from gistup | |
</body> | |
</html> |
This file contains hidden or 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
// In your mixin file | |
=retina | |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) | |
@content | |
// Call this mixin | |
.something | |
+retina | |
something: something |
This file contains hidden or 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
Global Variables | |
Store the data that WP generates | |
$post | |
$page | |
$is_iphone | |
$wp_version | |
Template Tags | |
Most Commonly used functions in theme templates | |
get_header() | |
the_title() |
OlderNewer