Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverzheng/howtocenterincss
CSS generator for centering text/div depending on their size or the container size.
https://github.com/oliverzheng/howtocenterincss
Last synced: 1 day ago
JSON representation
CSS generator for centering text/div depending on their size or the container size.
- Host: GitHub
- URL: https://github.com/oliverzheng/howtocenterincss
- Owner: oliverzheng
- Created: 2015-01-29T06:19:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T21:26:50.000Z (over 4 years ago)
- Last Synced: 2024-10-30T02:37:15.252Z (4 months ago)
- Language: JavaScript
- Homepage: http://howtocenterincss.com/
- Size: 174 KB
- Stars: 1,120
- Watchers: 19
- Forks: 44
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to Center in CSS [](https://travis-ci.org/oliverzheng/howtocenterincss)
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.
