CSS generator for centering text/div depending on their size or the container size.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
css
html
js
screenshots
.flowconfig
.gitignore Ignore yarn files. Nov 21, 2016
.travis.yml
README.md
bower.json
package.json Add url hash params to link to a set of options. May 31, 2015

README.md

How to Center in CSS BuildStatus

Centering in CSS is a pain in the ass. There seems to be a gazillion ways to do it, depending on a variety of factors. This consolidates them and gives you the code you need for each situation.

This is a code generator for your alignment needs.