| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <title>Full Screen Iframe</title> |
| <style> |
| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| } |
| |
| html, body { |
| height: 100%; |
| font-family: Arial, sans-serif; |
| } |
| |
| .container { |
| display: flex; |
| flex-direction: column; |
| height: 100%; |
| } |
| |
| iframe { |
| flex: 1; |
| width: 100%; |
| border: none; |
| } |
| |
| footer { |
| background-color: #222; |
| color: #fff; |
| text-align: center; |
| padding: 10px; |
| font-size: 14px; |
| } |
| |
| footer span { |
| color: #e25555; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="container"> |
| |
| <iframe src="https://timesofindia.indiatimes.com/" allowfullscreen></iframe> |
|
|
| |
| </div> |
| </body> |
| </html> |
|
|