Commit e1b5d4e9 authored by Pietro Albini's avatar Pietro Albini

page: add .col-center class

parent edaa0298
......@@ -178,7 +178,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<code>.col-quarter</code> per specificare le
dimensioni di una colonna. Se le classi non sono
specificate le colonne avranno dimensione
automatica.
automatica. Inoltre, <code>.col-center</code>
allinea il contenuto della colonna al centro,
verticalmente ed orizzontalmente.
</p>
</div>
</div>
......@@ -316,6 +318,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</p>
</div>
</div>
<div class="row">
<div class="col">
<p>
Sunt vitae recusandae laborum. Qui consequatur
laudantium illo corporis. Quia quidem occaecati
corporis libero a saepe. Recusandae quis deleniti
debitis non. Nihil molestiae autem ratione doloremque
sit quaerat consequuntur. Velit minus aut et
voluptatem. Dolorem explicabo commodi ullam in iusto
at reiciendis. Eaque quibusdam ad et dolores. Qui
numquam nemo est fuga quia animi impedit enim.
</p>
</div>
<div class="col col-center">
<p>
Centered
</p>
</div>
</div>
</div>
<div class="page">
......
......@@ -52,6 +52,11 @@ div.page {
&.col-quarter {
flex: 0 0 25%;
}
&.col-center {
text-align: center;
align-self: center;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment