Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. <md-card class="card-demo" >
  2. <md-card-title>Responsive Layout Directions</md-card-title>
  3. <md-card-subtitle>Layout direction changes to 'column' for 'xs' or 'sm' viewport sizes:</md-card-subtitle>
  4. <md-card-content>
  5. <div class="containerX">
  6. <div fxLayout="row" fxLayout.xs="column" fxLayout.sm="column" fxFlex class="coloredContainerX box" >
  7. <div fxFlex> I'm above on mobile, and to the left on larger devices. </div>
  8. <div fxFlex> I'm below on mobile, and to the right on larger devices. </div>
  9. </div>
  10. </div>
  11. </md-card-content>
  12. </md-card>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement