Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Feb 27, 2024
1 parent 62ea61d commit df084a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ npm install mistcss --save-dev

### 1. Create your first CSS component

Assuming your React components are in `src/components`, let's create a basic Button component:
Assuming your React components are in `src/components`, let's create a basic Button component using CSS.

`src/components/Button.mist.css`

```css
@scope (.button) {
@scope (.btn) {
button:scope {
/* Default style */
font-size: 1rem;
Expand Down

0 comments on commit df084a7

Please sign in to comment.