From 92f95e7288ddfe8db162f5074e49680fec80ff0e Mon Sep 17 00:00:00 2001 From: Nathan Cahill Date: Mon, 5 Nov 2018 12:41:25 -0700 Subject: [PATCH] clarify css layouts --- packages/splitjs/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/splitjs/README.md b/packages/splitjs/README.md index 06c41bdd8..5ca64de20 100644 --- a/packages/splitjs/README.md +++ b/packages/splitjs/README.md @@ -16,7 +16,7 @@ - **Zero Deps** - **Tiny:** Weights 2kb gzipped. - **Fast:** No overhead or attached window event listeners, uses pure CSS for resizing. -- **Unopinionated:** Plays nicely with `calc`, `flex` and `grid`. +- **Unopinionated:** Plays nicely with `float`, `flex` and other layouts. - **Compatible:** Works great in IE9, and _even loads in IE8_ with polyfills. Early Firefox/Chrome/Safari/Opera supported too. ## Table of Contents @@ -266,7 +266,8 @@ A vertical split style would look like this: } ``` -Use this function if you're using a different layout like flexbox or grid (see [Flexbox](#flexbox)). A flexbox style for a horizontal split would look like this: +You might use this function if you're using a different layout like flex (see [Flex Layout](#flex-layout)). +Flex styles for a horizontal split could return an object like this: ```js {