How to use Offset for xs screen


Topic: How to use Offset for xs screen

shivani.mslc pro asked 6 years ago

I want to align div in center just for mobile screen, i tried using offset-4 but it gets applied for all screens

Damian Gemza staff commented 6 years ago

Hello shivani.mslc, According to our docs - for setting up offset to specific screen width, you have to add specific class. For example, for offset only for xs devices: .offset-xs-3 Here you can read more about this: https://mdbootstrap.com/angular/layout/bootstrap-grid/#reordering Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No