From acd999b137506908d480d8c0e992449194d56d95 Mon Sep 17 00:00:00 2001 From: Ryan Van Etten Date: Tue, 29 Aug 2017 17:02:40 -0700 Subject: [PATCH] Start with baseline and middle (#2) --- README.md | 19 ++++++++++++++++++- align.css | 2 ++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 align.css diff --git a/README.md b/README.md index d35a3e8..b0a5d60 100644 --- a/README.md +++ b/README.md @@ -1 +1,18 @@ -# align.css \ No newline at end of file +# align.css + +Opensource functional CSS alignment classes. Available [on npm](https://www.npmjs.com/package/align.css) for production and [unpkg](https://unpkg.com/align.css/) for prototyping online. + +``` +npm install align.css +``` + +### `@import` + +```css +@import 'node_modules/align.css/align'; +``` + +## [Classes](align.css) + +- `.align-baseline` +- `.align-middle` diff --git a/align.css b/align.css new file mode 100644 index 0000000..de9ee54 --- /dev/null +++ b/align.css @@ -0,0 +1,2 @@ +.align-baseline { vertical-align: baseline } +.align-middle { vertical-align: middle }