From ca060be80e0d67f079610263f5229656c6ea6891 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 26 Dec 2018 14:53:54 -0500 Subject: [PATCH] add css-in-js post --- .../blog/2018-12-26-svelte-css-in-js.md | 29 +++++++++++++++++++ site/src/routes/blog/[slug].html | 21 ++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 site/content/blog/2018-12-26-svelte-css-in-js.md diff --git a/site/content/blog/2018-12-26-svelte-css-in-js.md b/site/content/blog/2018-12-26-svelte-css-in-js.md new file mode 100644 index 0000000000..2d36e2c71d --- /dev/null +++ b/site/content/blog/2018-12-26-svelte-css-in-js.md @@ -0,0 +1,29 @@ +--- +title: Using CSS-in-JS with Svelte +description: You don't need to, but you can +pubdate: 2018-12-26 +author: Rich Harris +authorURL: https://twitter.com/Rich_Harris +--- + +CSS is a core part of any web app. By extension, a UI framework that doesn't have a built-in way to add styles to your components is unfinished. + +That's why Svelte allows you to add CSS in a component's ` \ No newline at end of file