K
K
Konstantin2016-08-16 01:34:00
Layout
Konstantin, 2016-08-16 01:34:00

Flexbox and/or Susy?

1) Is it rational to use Flexbox and Susy together?
2) I like flexbox, but it's not meant for building layouts, but only for components, for layout, display: grid will appear soon. So is it ok to use flexbox for large sites as a base?
3) What if you use flexbox in some places (wherever possible) as a grid, and in the rest (where there is not enough flexbox capabilities) Susy? Or do you need to decide and use one thing?
4) If you use only flexbox as the basis, then what about the "jewelry" gutter, for example.
What do you think? Please help me figure this all out.
PS I read the book "Responsive Web Design". Susy is just based on the principles described in that book.
Please explain what is what and why...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danila, 2016-08-16
Otpushchennikov @Yaphtes

1) I don't think so
2) Do you think floats are more suitable for layouts? And yes, it is normal to use it, many large sites have already been transferred to flexbox.
3) There is nothing in susy that cannot be implemented on flex, moreover, flexbox is more powerful
4) If I'm not mistaken, gutter in susy is the usual indents between columns. What is stopping you from writing these indents with flex handles?
Use what is comfortable for you and do not fool yourself

Z
zooks, 2016-08-16
@zooks

Flexbox and Susy.

.flexbox {
  display: flex;
  justify-content: space-between;

  .content { flex-basis: span(9); }
  .sidebar { flex-basis: span(3); }
}

https://www.smashingmagazine.com/2015/12/website-l...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question