blob: 0674b265ac92566737e4c0ab0e86e93c4313579e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!DOCTYPE html>
<html>
<title>View transitions: fractional translation from position (ref)</title>
<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
body {
width: 100vw;
height: 100vh;
background: grey;
}
#target {
width: 100px;
height: 100px;
position: fixed;
top: 100.52px;
left: 100.37px;
view-transition-name: target;
contain: layout;
will-change: filter;
}
</style>
<div id=target>
Here is some text which should not be blurry.
</div>
|