40 lines
672 B
HTML
40 lines
672 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<iframe id="pdf-js-viewer" src="https://www.geometrytools.ga/pdf/web/viewer.html?file=test.pdf" title="webviewer" frameborder="0" width="100%" height="100%"></iframe>
|
|
</div>
|
|
</body>
|
|
<style>
|
|
.container {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
padding-top: 75%;
|
|
}
|
|
|
|
.responsive-iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
<style>
|
|
*{
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
iframe{
|
|
position: fixed;
|
|
height: 100%;
|
|
width: 100%;
|
|
border:none;
|
|
}
|
|
</style>
|
|
</html> |