Markdown | text-align: center
The Library of Code is a compilation of different bits of html, CSS and Javascript that I’ve used in my own web design. Rather than keeping the links from creators all over the internet stored locally I thought I’d share them instead! Keep these at hand by subscribing to the foubography rss feed or head to foubography’s instagram and save the posts.
Just paste this bit of code in Design > Custom CSS and adjust accordingly.
/* you need a block element like a div to set the reference points to align the text: add the <div></div> around the <span> you want to center your text in */
<div style="text-align:center">
<span style="color:red;">lorem ipsum</span>
</div>