Skip to content

Instantly share code, notes, and snippets.

@smalljam
Created December 15, 2011 03:26
Show Gist options
  • Save smalljam/1479696 to your computer and use it in GitHub Desktop.
Save smalljam/1479696 to your computer and use it in GitHub Desktop.
pages overview //TODO: improve
<style type="text/css">
body {
width: 200%;
height: 200%;
}
iframe {
-webkit-transform: scale(0.2);
-webkit-transform-origin: 0 0;
position: absolute;
width: 100%;
height: 400%;
left: 0;
top: 0;
z-index: 1;
}
iframe:hover {
-webkit-transform: scale(0.5);
-webkit-transform-origin: 0 0;
z-index: 5;
}
iframe:nth-child(2) {
left: 20%;
}
iframe:nth-child(3) {
left: 40%;
}
iframe:nth-child(4) {
left: 60%;
}
iframe:nth-child(5) {
left: 80%;
}
iframe:nth-child(6) {
left: 100%;
}
iframe:nth-child(7) {
left: 120%;
}
iframe:nth-child(8) {
left: 140%;
}
iframe:nth-child(9) {
left: 160%;
}
</style>
<div id="dashboard">
<iframe src="index.html"></iframe>
<iframe src="search.html"></iframe>
<iframe src="ticket.html"></iframe>
<iframe src="booking-1.html"></iframe>
<iframe src="booking-2.html"></iframe>
<iframe src="profile.html"></iframe>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment