Skip to content

Instantly share code, notes, and snippets.

@SomMeri
Created December 22, 2013 10:33
Show Gist options
  • Save SomMeri/8080666 to your computer and use it in GitHub Desktop.
Save SomMeri/8080666 to your computer and use it in GitHub Desktop.
Demo for Properties Merging and Transform less.js Issues
<html><head><style>
div{
width:300px;
height:100px;
}
div#spaces{
background-color:yellow;
-webkit-transform: skew(30deg) rotate(30deg) translate(50px,100px);
transform: skew(30deg) rotate(30deg) translate(50px,100px);
}
div#commas {
background-color:red;
-webkit-transform: skew(30deg), rotate(30deg), translate(50px,100px);
transform: skew(30deg), rotate(30deg), translate(50px,100px);
}
</style></head><body>
<div id="spaces">Spaces only spaces, spaces only spaces, spaces only spaces</div>
<div id="commas">Commas only commas, commas only commas, commas only commas</div>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment