Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doing some testing for animations and basic changes. This code is kno…
…wn to be broken. Don't use it right now. But a new version is coming soon.
- Loading branch information
Showing
7 changed files
with
599 additions
and
120 deletions.
There are no files selected for viewing
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,87 @@ | |||
html, body { | |||
margin: 0; | |||
padding: 0; | |||
height: 100%; | |||
} | |||
|
|||
h2 { | |||
font-size: 28px; | |||
margin-bottom: 20px; | |||
} | |||
|
|||
#container { | |||
width: 960px; | |||
margin: 10px auto; | |||
} | |||
|
|||
#body { | |||
padding: 10px; | |||
background-image: url(../i/background.jpg); | |||
border: 4px solid #000000; | |||
} | |||
|
|||
.box { | |||
float: left; | |||
display: inline; | |||
margin-bottom: 10px; | |||
margin-right: 10px; | |||
} | |||
.outer { | |||
height: 150px; | |||
width: 150px; | |||
|
|||
background-color: #000000; | |||
background-color: rgba(0, 0, 0, 0.5); /* FF3+, Saf3+, Opera 10.10+, Chrome */ | |||
} | |||
.lt-ie8 .outer { | |||
background-color: transparent; | |||
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#7F000000',EndColorStr='#7F000000'); /* IE6,IE7 */ | |||
} | |||
.ie8 .outer { | |||
background-color: transparent; | |||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#7F000000',EndColorStr='#7F000000')"; /* IE8 */ | |||
} | |||
|
|||
.plain .animate, | |||
.plain .transition, | |||
.plain .transform { | |||
border: 5px solid #000000; | |||
background-color: deeppink; | |||
padding: 5px; | |||
|
|||
height: 150px; | |||
width: 150px; | |||
|
|||
box-sizing: border-box; | |||
-moz-box-sizing: border-box; | |||
-webkit-box-sizing: border-box; | |||
|
|||
-moz-transform: translate(13px, 13px) translateX(13px); | |||
} | |||
|
|||
.transition { | |||
-moz-transition-property: -moz-transform; | |||
-moz-transition-duration: .4s; | |||
-moz-transition-timing-function: ease-in-out; | |||
|
|||
-webkit-transition-property: -moz-transform; | |||
-webkit-transition-duration: .4s; | |||
-webkit-transition-timing-function: ease-in-out; | |||
|
|||
-o-transition-property: -moz-transform; | |||
-o-transition-duration: .4s; | |||
-o-transition-timing-function: ease-in-out; | |||
} | |||
#body:after, | |||
.clearfix:after { | |||
content: "."; | |||
display: block; | |||
height: 0; | |||
clear: both; | |||
visibility: hidden; | |||
} | |||
.ie #body, | |||
.ie .clearfix { | |||
zoom: 1; /* triggers hasLayout */ | |||
display: block; /* resets display for IE/Win */ | |||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.