зеркало из https://github.com/mozilla/gecko-dev.git
35 строки
444 B
HTML
35 строки
444 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>background-size + zoom</title>
|
||
|
<style type="text/css">
|
||
|
html
|
||
|
{
|
||
|
margin: 0;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
body
|
||
|
{
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
#outer
|
||
|
{
|
||
|
border: 2px solid black;
|
||
|
width: 128px;
|
||
|
height: 256px;
|
||
|
}
|
||
|
#inner
|
||
|
{
|
||
|
width: 32px;
|
||
|
height: 32px;
|
||
|
background-image: url(aqua-32x32.png);
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="outer"><div id="inner"></div></div>
|
||
|
</body>
|
||
|
</html>
|