Skip to content

Instantly share code, notes, and snippets.

@jordangray
Last active October 16, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordangray/228de10f82b27e28e3a9 to your computer and use it in GitHub Desktop.
Save jordangray/228de10f82b27e28e3a9 to your computer and use it in GitHub Desktop.
Simple transition example
/* Simple transition example */
input {
transition: background 2s;
}
input:focus {
background: fuchsia;
}
WebFontConfig = {
google: { families: [ 'Titillium+Web::latin,latin-ext', 'Open+Sans:400italic,700italic,400,700:latin,latin-ext' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment