From 0dbaa0da20470c87f91d40577b117f5c6c5971ef Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 18 Aug 2023 13:15:01 +0530 Subject: Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b0a8610..24fbb65 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# cssx +# css-everything A ui library where you only write CSS. No HTML, no JS, no build system, only CSS (kinda). > Disclaimer: Don't use this @@ -19,11 +19,11 @@ You can start by adding the script tag for the renderer inside the body ``` -NOTE: The HTML needs to have a body element since that is the root of your application by default. +**NOTE:** The HTML needs to have a body element since that is the root of your application by default. -NOTE_new: Styles need to be loaded before the renderer is triggered. +**NOTE_new:** Styles need to be loaded before the renderer is triggered. -NOTE_new_final: You can load more cssx by using the `load-cssx()` function +**NOTE_new_final:** You can load more cssx by using the `load-cssx()` function #### A simple style.css This generates 2 elements (`main` and `button`) @@ -55,6 +55,8 @@ Wow. You couldn't come up with a more boring example if you tried. [Here's a todo example then](https://codepen.io/phenax/pen/QWzWGaV?editors=1100) +[Here's a simple time example](https://codepen.io/phenax/pen/KKbKNeb?editors=1100) + [More in the examples directory](https://github.com/phenax/css-everything/tree/main/examples) -- cgit v1.3.1