From d3cf72cd4fb99841c469b7cc7d3984ea2a9cb998 Mon Sep 17 00:00:00 2001 From: Dan Zajdband Date: Fri, 23 Dec 2016 20:36:34 -0500 Subject: [PATCH] Update README.md (#499) --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 02a14894..fb4fe0d8 100644 --- a/README.md +++ b/README.md @@ -62,10 +62,10 @@ export default () => ( #### Built-in CSS support -
+

Examples - - [Basic css](./examples/basic-css) -
+ +

We bundle [styled-jsx](https://github.com/zeit/styled-jsx) to provide support for isolated scoped CSS. The aim is to support "shadow CSS" resembling of Web Components, which unfortunately [do not support server-rendering and are JS-only](https://github.com/w3c/webcomponents/issues/71). @@ -95,11 +95,7 @@ export default () => (

Examples - +

It's possible to use any existing CSS-in-JS solution. The simplest one is inline styles: @@ -124,10 +120,10 @@ export default () => ( ### Populating `` -
+

Examples - - [Head elements](./examples/head-elements) -
+ +

We expose a built-in component for appending elements to the `` of the page. @@ -186,13 +182,13 @@ For the initial page load, `getInitialProps` will execute on the server only. `g ### Routing -#### With `` -

Examples

+#### With `` + Client-side transitions between routes can be enabled via a `` component. Consider these two pages: ```jsx