--- layout: layouts/post.njk title: Previous next buttons description: Create previous and next buttons with CSS flexbox keywords: css flexbox, css pagination --- ## HTML ```html
``` ## CSS ```css .previous-next-buttons { align-items: center; display: flex; justify-content: space-between; } ``` You can use the [arrow buttons](/arrow-buttons/) to create the previous and next buttons. {% demo %}{% include "covers/previous-next-buttons.njk" %}{% enddemo %}