Skip to content

Entries from February 2017.

Useful CSS classes for documentation

Sometimes you want to insert image centered on page, taking full length of the paragraph. It's quite easy with aligncenter CSS class:

.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-top: 2em; margin-bottom: 2em; }

.alignright { float: right; margin: 2em; }

blockquote { white-space:pre }