Skip to content

Instantly share code, notes, and snippets.

@DuncanFaulkner
Last active Jul 25, 2021
Embed
What would you like to do?
mediaObservable
<div fxLayout="row" fxLayoutGap="10px">
<div fxFlex="1 0 10" *ngIf="mediaObserver.isActive('md')"
id="boxone" style="background: red;">Box One</div>
<div fxFlex="1 0 10" id="boxtwo" style="background: blue;">Box Two</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment