зеркало из https://github.com/mozilla/pjs.git
11 строки
301 B
HTML
11 строки
301 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body style="background-size: cover; -moz-transition-duration: 1ms"></body>
|
|
<script>
|
|
var body = document.body;
|
|
/* flush */ getComputedStyle(body, "").backgroundSize;
|
|
body.style.backgroundSize = 'contain';
|
|
/* flush */ getComputedStyle(body, "").backgroundSize;
|
|
</script>
|
|
</html>
|