Skip to content

Instantly share code, notes, and snippets.

@uiur
Created July 7, 2015 01:42
Show Gist options
  • Save uiur/d8a6a65a474486d14c99 to your computer and use it in GitHub Desktop.
Save uiur/d8a6a65a474486d14c99 to your computer and use it in GitHub Desktop.
css and linear algebra
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="style.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<div class="box"></div>
</body>
</html>
.box {
margin: 200px auto;
width: 200px;
height: 200px;
transition: ease .3s;
background-image: url(https://i.gyazo.com/thumb/200_crop/_486067d32b828b6346b51715ae8c3309.png);
background-size: cover;
/*
1 0
0 1
*/
transform: matrix(1, 0, 0, 1, 0, 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment