This is a gist in progress, forking from http://bl.ocks.org/mbostock/4657115
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
.clicked { | |
color: darksalmon; | |
} | |
.logo { | |
position: absolute; | |
left: 50%; | |
top: 50%; | |
width: 128px; | |
height: 128px; | |
margin-left: -64px; |
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
.clicked { | |
color: darksalmon; | |
} | |
.logo { | |
position: absolute; | |
left: 50%; | |
top: 50%; | |
width: 128px; | |
height: 128px; | |
margin-left: -64px; |
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> | |
<head> | |
<title>CSS and dogs</title> | |
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light' rel='stylesheet' type='text/css'> | |
<style> | |
body { | |
background-color: lightgray; | |
} |
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
/* | |
More information about transforms and transitions: | |
CSS transforms: | |
* https://developer.mozilla.org/en-US/docs/Web/CSS/transform | |
CSS transitions: | |
* https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions |