-
Notifications
You must be signed in to change notification settings - Fork 0
Containers
Maciej Waleryn edited this page Feb 22, 2022
·
3 revisions
Yaff introduces several types of containers, prividing responsive front-end.
Segments are used to separate and center horizontally content of the website.
yaff segment
<div class="yaff segment">
<div>Separated content</div>
</div>
Articles are formatted, responsive containers. The following table presents article sizes with different screen width.
< 828px | > 1084px | > 1340px |
---|---|---|
90% of the screen's width | 768px | 1024px |
yaff article
<div class="yaff article">
<div>Content</div>
</div>
Simple articles behave like normal articles, but are not visually distinctive.
yaff simple-article
<div class="yaff simple-article">
<div>Content</div>
</div>