Skip to content

Commit

Permalink
update div text
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Jan 7, 2025
1 parent 52b5b72 commit da191fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/css/@media/aspect-ratio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Note that, when none of the media query conditions are true, the background will
```html
<iframe id="outer">
<div id="inner">
Watch this element as you resize your viewport's width and height.
Watch this element as you resize iframe viewport's width and height.
</div>
</iframe>
```
Expand Down Expand Up @@ -67,7 +67,7 @@ Note that, when none of the media query conditions are true, the background will

<iframe
id="outer"
srcdoc="<style> @media (min-aspect-ratio: 8/5) { div { background: #99f; } } @media (max-aspect-ratio: 3/2) { div { background: #9f9; } } @media (aspect-ratio: 1/1) { div { background: #f99; } }</style><div id='inner'> Watch this element as you resize your viewport's width and height.</div>">
srcdoc="<style> @media (min-aspect-ratio: 8/5) { div { background: #99f; } } @media (max-aspect-ratio: 3/2) { div { background: #9f9; } } @media (aspect-ratio: 1/1) { div { background: #f99; } }</style><div id='inner'> Watch this element as you resize iframe viewport's width and height.</div>">
</iframe>
```

Expand Down

0 comments on commit da191fe

Please sign in to comment.