Skip to content

Commit

Permalink
iframe video
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuyue Zhang committed Apr 15, 2024
1 parent 058feb7 commit f58b278
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ <h1>OPTICA v0.3.0</h1>
<section id="about-us">
<h1>About Us</h1>
<p>OPTICA is an <b>optical education platform</b>. </p>
<p>Follow the demo video to understand the platform.</p>
<iframe src="https://www.youtube.com/embed/HYVLx2RlLTg?si=ErkH0xFesNvBtWIB" title="OPTICA DEMO"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
</iframe>
</section>

<section id="background">
<h1>Background</h1>
<p>We focus on wave optics, a branch of optics that explores</p>
<p>the electromagnetic wave propagation of light and related physical phenomena, </p>
<p>including polarization, interference, etc.</p>
Expand Down
6 changes: 6 additions & 0 deletions stylesheet/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ h2{
transition: all 0.3s ease;
}

iframe{
margin: var(--mb-2) auto;
width: 1120px;
height: 630px;
}

.about-gallery,
.tutorial-gallery{
position: relative;
Expand Down

0 comments on commit f58b278

Please sign in to comment.