S
S
saveTibet2017-07-26 19:51:01
Sass
saveTibet, 2017-07-26 19:51:01

What was the replacement for "container" in Susy 3?

In the second version @include container(90%), I used to set a container on the page with a width of 90%. Now I installed Susy 3 and in Gulp I catch the error "Error: no mixin name container". How to decide?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
andead, 2017-08-07
@andead

There are no more mixins, only functions - https://twitter.com/SassSusy/status/894295590019809280

Z
zooks, 2017-10-30
@zooks

With container, everything is simple. You just need to create a mixin:

=container($value)
  max-width: $value
  margin-left: auto
  margin-right: auto

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question