Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags