Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html class="no-js" lang="">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <title>Moja strona</title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <style>
- .container {
- max-width: 1300px;
- margin: 0 auto;
- background: #333;
- border: 2px solid green;
- color: #fff;
- padding: 0 20px;
- }
- .embed-wrapper {
- max-width: 70%;
- margin: 0 auto;
- background: grey;
- border: 2px solid rgb(0, 0, 255);
- position: relative;
- padding-bottom: 56.25%; /* 16:9 */
- padding-top: 25px;
- height: 0;
- }
- .embed-wrapper iframe {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <p>Tytuł:</p>
- <p>Opis:</p>
- <div class="embed-wrapper">
- <iframe width="560" height="315" src="https://www.youtube.com/embed/fR-7E12ppDg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
- </div>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment