There is a need of designing a layout using SLDS grid system. We have to divide the entire width in 40% - 60% ratio. I am able to divide in 5:7 ratio like below


How can I achieve the 2:3 ratio?

  • 2
    Slds-size_2-of-5 and 3-of-5 maybes – Eric Aug 20 '17 at 5:42
  • 3
    @Eric You should add this answer so I can +1 it. – sfdcfox Aug 20 '17 at 5:47

SLDS allows grids of various sizes. You can use slds-size_2-of-5 and slds-size_3-of-5 to get a 2:3 ratio.

  • Lol... I figured it out myself, so thought of deleting this question, but then you already gave the answer. Marking the answer as correct. – snl Aug 20 '17 at 5:57

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.