Merge branch 'master' into new-branch

This commit is contained in:
Prachi Sharma 2022-10-18 15:10:38 +05:30 committed by GitHub
commit 5fd83eaf09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

25
iframe/index.html Normal file
View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>HTML Tips and Tricks - Meter</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link href="https://fonts.googleapis.com/css2?family=Chilanka&display=swap" rel="stylesheet">
<link rel='stylesheet' type='text/css' media='screen' href='../main.css'>
</head>
<body>
<div class="demo">
<a href="../index.html" class="home">
<img src="../home.svg" alt="home" />
</a>
<h1>Iframe Tag</h1>
<iframe src="https://www.youtube.com/embed/tgbNymZ7vqY"
width="560" height="315" frameborder="0" allowfullscreen
class="embed-youtube"></iframe>
</div>
</body>
</html>

View file

@ -107,6 +107,10 @@
Lazy Loading</a> - Lazy Load html images natively Lazy Loading</a> - Lazy Load html images natively
</li> </li>
<li>
<a href='./iframe/index.html'>
Iframe</a> - Embed YouTube Videos
</li>
</ul> </ul>
</div> </div>
<br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br>

View file

@ -119,6 +119,7 @@ dialog::backdrop {
); );
backdrop-filter: blur(3px); backdrop-filter: blur(3px);
} }
.figure { .figure {
margin: 10px auto 30px auto; margin: 10px auto 30px auto;
display: flex; display: flex;
@ -143,3 +144,9 @@ justify-content: center;
flex-direction: column; flex-direction: column;
} }
.embed-youtube {
border: 1px solid #ffffff;
}