зеркало из https://github.com/SixLabors/Svg.git
19 строки
644 B
HTML
19 строки
644 B
HTML
|
<!DOCTYPE html>
|
|||
|
|
|||
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|||
|
<head>
|
|||
|
<meta charset="utf-8" />
|
|||
|
<title></title>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<input type="range" onchange="document.getElementById('svg').style.opacity = this.value;" value="0.5" min="0" max="1" step="0.01" />
|
|||
|
<div style="position:relative">
|
|||
|
<div style="position:absolute; left:0; top :0px; background-color:white" id="png">
|
|||
|
<img src="source.png" />
|
|||
|
</div>
|
|||
|
<div style="position:absolute; left:0; top :0px; background-color:white; opacity:0.5" id="svg">
|
|||
|
<img src="source.svg" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|