0

Is there a SLDS class that applies margin only for large screens(>=1024px). I found my self in many situations where I had to write media query like below but curious if there is an inbuilt class that can do what the below one does(or close to what it does)?

@media (min-width: 1024px){
  .test {
    margin-right: 20px;
  }
}

slds-show_x-large -- similar to this. This one displays content only on large screen and all on other screen, it hides content without having to write media query. I am looking for something similar to this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.