1

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

https://pastebin.com/7TYyBMLa

How can I achieve the 2:3 ratio?

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

1 Answer 1

4

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .