Polaroid Frame Iframe - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Polaroid Frame Iframe</title> <style> body { font-family: 'Arial', sans-serif; background: #f3f3f3; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .iframe-container { position: relative; width: 80%; height: 70%; background: #fff; border: 10px solid #333; border-radius: 15px; overflow: hidden; padding: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .iframe-container:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } .iframe-title { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 5px 15px; border-radius: 10px; font-size: 1.3em; font-weight: bold; } iframe { width: 100%; height: 100%; border: none; border-radius: 10px; } </style> </head> <body> <div class="iframe-container"> <div class="iframe-title">Polaroid Frame Iframe</div> <iframe src="https://www.example.com" title="Example Iframe"></iframe> </div> </body> </html>