Created
November 13, 2013 06:30
-
-
Save jacksctsai/7444652 to your computer and use it in GitHub Desktop.
This makes safari crashes.
Try to hover the blue box and you will see...
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
<html> | |
<style media="screen" type="text/css"> | |
.box { | |
border-style: solid; | |
border-width: 1px; | |
display: block; | |
width: 300px; | |
min-height: -moz-calc(100% - 1px); | |
min-height: -o-calc(100% - 1px); | |
min-height: -webkit-calc(100% - 1px); | |
min-height: calc(100% - 1px); | |
background-color: #0000FF; | |
-moz-transition:width 2s, min-height 2s, background-color 2s, -moz-transform 2s; | |
-webkit-transition:width 2s, min-height 2s, background-color 2s, -webkit-transform 2s; | |
-o-transition:width 2s, min-height 2s, background-color 2s, -o-transform 2s; | |
transition:width 2s, min-height 2s, background-color 2s, transform 2s; | |
} | |
.box:hover { | |
background-color: #FFCCCC; | |
width: 400px; | |
min-height: -moz-calc(100% - 2px); | |
min-height: -o-calc(100% - 2px); | |
min-height: -webkit-calc(100% - 2px); | |
min-height: calc(100% - 2px); | |
-moz-transform:rotate(180deg); | |
-webkit-transform:rotate(180deg); | |
-o-transform:rotate(180deg); | |
transform:rotate(180deg); | |
} | |
</style> | |
<body> | |
<div class="box"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment