A Pen by Jake Trent on CodePen.
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-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Vertically-centered Image</title> | |
<style> | |
.results { | |
width: 600px; | |
margin: 0 auto; | |
} |
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-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Radial Grandient Test</title> | |
<link href='http://fonts.googleapis.com/css?family=Chau+Philomene+One' rel='stylesheet' type='text/css' /> | |
<style> | |
body { | |
padding: 0; | |
border: 0; |
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-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>CSS Circle Experiment</title> | |
<link href='http://fonts.googleapis.com/css?family=Josefin+Slab' rel='stylesheet' type='text/css' /> | |
<style> | |
body { | |
background: #ababab; | |
} |
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-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HandlebarsJs Demo</title> | |
<script type="text/javascript" | |
src="http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.0.beta.6.js"></script> | |
<link href='http://fonts.googleapis.com/css?family=Righteous' rel='stylesheet' type='text/css'> | |
<style> | |
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
UIFont *textFont = [UIFont fontWithName:@"Helvetica" size:40]; | |
UIColor *textForegroundColor = [UIColor blackColor]; | |
NSMutableParagraphStyle* textParagraphyStyle = [[NSMutableParagraphStyle alloc] init]; | |
textParagraphyStyle.lineSpacing = 15; | |
NSMutableAttributedString* pageText = | |
[[NSMutableAttributedString alloc] initWithString:@"Wow, text is being muted." | |
attributes:@{ NSParagraphStyleAttributeName: textParagraphyStyle, |
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
var coffee = require('broccoli-coffee') | |
var concat = require('broccoli-concat') | |
module.exports = function (broccoli) { | |
var clientTree = broccoli.makeTree('client') | |
var bowerTree = broccoli.makeTree('bower_components') | |
var tree = new broccoli.MergedTree([ | |
clientTree, |
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
(function() { | |
Ember.String.pluralize = function(word) { | |
return Ember.Inflector.inflector.pluralize(word); | |
}; | |
Ember.String.singularize = function(word) { | |
return Ember.Inflector.inflector.singularize(word); | |
}; | |
})(); |
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
DS.RESTAdapter.reopen({ | |
pathForType: function(type) { | |
var dasherized = Ember.String.dasherize(type); | |
return Ember.String.pluralize(dasherized); | |
} | |
}); |
OlderNewer