Last active
November 10, 2023 09:03
-
-
Save Rainbowrain-TW/e8d34f7d7852af2524713059284506ab to your computer and use it in GitHub Desktop.
iFrame 圖台範例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
body{ | |
margin: 0; | |
padding: 0; | |
} | |
header{ | |
width: 100%; | |
height: 50px; | |
background-color: #000; | |
color: #fff; | |
text-align: center; | |
line-height: 50px; | |
} | |
content{ | |
display: inline-block; | |
width: 100%; | |
height: calc(100vh - 54px); | |
background-color: #aaa; | |
} | |
iframe{ | |
width: 100%; | |
height: 100%; | |
border: none; | |
} | |
</style> | |
</head> | |
<body> | |
<header>nav bar</header> | |
<content> | |
<iframe src="http://140.110.11.220/insynerger/"> | |
</content> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment